I know I am missing something small but I cant pin point it. I am basically wanting my header image to go the full length of the screen.
Here is what I have now.
See how you can see about 2px of grey on the left and top? I want it to go all the way across and be pushed up to the top.
Here is the code I am using. Pretty simple but like I said, I cant pin point what I am missing.
margin: 0 auto;
I think I found it, I added this to the body and it made it work.
The html and body elements have default margins (and padding in some cases) so you need to reset them to zero:
No need to set widths for either of those.:)
This topic is now closed. New replies are no longer allowed.