...

View Full Version : what is ">" ?



jm9sq5w2
11-19-2011, 09:36 AM
what does ">" mean ?

.menutop li.root > .item { font-size:10px; }

Amphiluke
11-19-2011, 10:49 AM
This is the child selector (http://www.w3.org/TR/CSS2/selector.html#child-selectors). This code means that the CSS rule will be applied to only those elements with class "item" which are the direct children of the list items with class "root".

jm9sq5w2
11-19-2011, 12:13 PM
This is the child selector (http://www.w3.org/TR/CSS2/selector.html#child-selectors). This code means that the CSS rule will be applied to only those elements with class "item" which are the direct children of the list items with class "root".

tx a lot,.
your link was so helpful too.
:)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum