View Full Version : Padding that should not exist - help!

09-27-2007, 09:17 AM

Anyone know why there's padding on top and bottom of my navigation buttons?

According to the code, it should be right under the text. Just like IE6 renders it. In FF and Opera it has this padding which shows in Dreamweaver too, but there is no code for this padding.

I really want to get rid of it, or at least understand where it is coming from so i can get consistent padding in both IE6 and FF, opera, etc.


09-27-2007, 10:03 AM
Use this:

ul#navlist {
padding-left: 0;
white-space: nowrap;
margin: 0;

09-27-2007, 03:16 PM
Thanks. That did the trick ;)

I hate it when you miss small things. Guess i need more experience.