PDA

View Full Version : what would make #wrapper ( 0 auto) not center itself in page's center?


buttah
12-07-2008, 07:15 PM
I have #wrapper (0 auto) with bg-img. attached to body. When in browser, the wrapper is shifted left like a normal non-auto wrapper. Cannot seem to figure out why? I've even gone over with instructor and he cannot find out why?

#wrapper {
padding:0px;
text-align:left;
margin:0px auto
min-height: 100%;
margin: 0px auto;
width: 1024px;
}

Cary
12-07-2008, 07:29 PM
The above code has "margin:0px auto" twice and only one of them ends with ";".

buttah
12-07-2008, 07:49 PM
well, with all going on, how'd I miss that. See a second pair of eyes helps. Thank you