I recently saw a stylesheet with the following in
#content >p { (or maybe it was p> - sorry, I don't have it to hand)
Can someone tell me what that does?
TIA
--
Bob Phillips
... looking out across Poole Harbour to the Purbecks
The explanation is in the CSS2 specification document (available at
www.w3.org) on page 54. It is not available in CSS1.
The format is this:
E > F { }
which matches if F is a direct child of E, whereas,
E F { }
matches if F is any descendant of E, and,
E, F { }
matches any F or E.
Paul