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 to the CF scene
    Join Date
    Jun 2009
    Location
    Cape Town
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question re: css markup and '>' sign

    I have been coding css for quite a while now and found the following code on an existing stylesheet that I needed to edit:

    Code:
    div.header > div.list-toggle {position:relative;}
    I have not come across a '>' sign in css before, yet it validates as 100% legal. Is this good css practice? Can anyone explain to me what it means and when it is used?

    thank you
    Tiny B

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,957
    Thanks
    9
    Thanked 727 Times in 721 Posts
    It's a child selector. Not supported by IE6.

  • #3
    New to the CF scene
    Join Date
    Jun 2009
    Location
    Cape Town
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks for clearing that up


  •  

    Posting Permissions

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