PDA

View Full Version : header 100% question


m1a2x3x7
08-16-2007, 12:20 AM
first site im doing with a header at 100% and I'm having some issues. The header doesnt want to go all the way across also I would like it all the way at the to.

http://www.schultzstudio.com/test/index.html

heres the page and heres my css

#banner {
background-image: url(../images/bannerBg.gif);
background-repeat: repeat;
height: 136px;
width: 100%;
margin: auto;
padding: 0px;
background-position: 100%;
}

what else do i need?

Thanks

edbr
08-16-2007, 02:16 AM
I am not sure but delete the margin auto and try that.

domedia
08-16-2007, 04:55 AM
yes do that, and make sure the parent element does not have margin as well.
I'm guessing
body {margin: 0; padding: 0}
would do the trick?

edbr
08-16-2007, 05:30 AM
strangely dom it doesn't have a margin

m1a2x3x7
08-16-2007, 10:57 AM
thanks dom

body margin 0 did it