Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2007
    Posts
    29
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Padding that should not exist - help!

    http://members.optusnet.com.au/tonytrinh87/

    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.

    Thanks.

  • #2
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    Use this:

    Code:
    ul#navlist {
    	padding-left: 0;
    	white-space: nowrap;
    	margin: 0;
    }
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • Users who have thanked ahallicks for this post:

    senkei (09-27-2007)

  • #3
    New Coder
    Join Date
    Jul 2007
    Posts
    29
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thanks. That did the trick

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •