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
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post

    can't see padding

    Hi. On this site, I can't see the bottom padding of the navigation LI elements.

    Why is this?

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,208
    Thanks
    7
    Thanked 268 Times in 267 Posts
    Quote Originally Posted by SRD75 View Post
    Hi. On this site, I can't see the bottom padding of the navigation LI elements.

    Why is this?
    Because you're assuming the blue box (#navigation) encompasses that padding. It doesn't, because your ul is floated. Add "overflow:auto" to the #navigation div, or remove the float, and then the blue box will surround the list.

  • Users who have thanked tracknut for this post:

    SRD75 (08-16-2013)

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    265
    Thanks
    49
    Thanked 1 Time in 1 Post
    Fantastic. Thanks again tracknut.


  •  

    Tags for this Thread

    Posting Permissions

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