div > p
The above selector targets only those p elements that are children of div elements. Grand children, great grand children etc. won't be targetted.
Note: IE6 does not support child selectors (it ignores them)
Chetan Crasta's XHTML, HTML and CSS Notes
div > p
No comments:
Post a Comment