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
    Jul 2005
    Posts
    120
    Thanks
    36
    Thanked 0 Times in 0 Posts

    first-child last-child properties

    Hi, Please see url: http://newsite.terravoce.com/

    In the nav, I have:

    Code:
    #nav-1 li:first-child a, #nav-1 li:last-child a {
        background:none;
    }
    why is this not taking out the disc (image) separators?

    Using latest version of Firefox.

    Thanks.

  • #2
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    The background image is on the lists, not the anchor tags. So it should be...

    Code:
    #nav-1 li:first-child, #nav-1 li:last-child {
        background:none;
    }
    My signature :)

  • Users who have thanked ttkim for this post:

    johndove (07-05-2013)

  • #3
    Regular Coder
    Join Date
    Jul 2005
    Posts
    120
    Thanks
    36
    Thanked 0 Times in 0 Posts
    Thank you!


  •  

    Posting Permissions

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