...

View Full Version : Header image width 100%



eLK
02-16-2011, 05:07 PM
The top green bar is getting cut off on the end, how do I fix this?

Thanks

http://silentskymedia.com

sophshep
02-16-2011, 05:24 PM
I would try the following:

Make the header margin: 0px instead of auto

and take out center for your background, so it's just:

background: transparent url(images/header.jpg) repeat-x top;

eLK
02-16-2011, 05:28 PM
Tried it, no luck though. Any other ideas?

abduraooft
02-16-2011, 05:29 PM
Add
*{margin:0;padding:0} into your CSS to remove all browser specific default values of margins and paddings from all elements. Or you may just add
body{margin:0;padding:0} in this case.

eLK
02-16-2011, 05:33 PM
Perfect, thank you!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum