jwk811 Posted April 13, 2010 Share Posted April 13, 2010 http://www.sportquadchat.com/test.php if you have mozilla you will see that at both ends of the nav/menu bar there is white space. this is the css i have for the menu #menu { width: 800px; padding-left: 15px; background: url(http://www.sportquadchat.com/images/menu.jpg) bottom left repeat-x; } #menu ul { list-style: none; padding: 0; margin: 0; } #menu li { float: left; } #menu li a { background: url(http://www.sportquadchat.com/images/menu.jpg) bottom left repeat-x; height: 2em; line-height: 2em; float: left; width: 6.4em; display: block; color: white; font-size: 20px; text-decoration: none; text-align: center; } #menu li a { float: none; } Quote Link to comment https://forums.phpfreaks.com/topic/198341-background-wont-work-in-mozilla/ Share on other sites More sharing options...
haku Posted April 13, 2010 Share Posted April 13, 2010 You have a 5px black border around #maincontainer. The whitespace you are seeing isn't whitespace, it is the border around the container. Quote Link to comment https://forums.phpfreaks.com/topic/198341-background-wont-work-in-mozilla/#findComment-1040693 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.