Hi again!
CSS considers only element nodes to be children or siblings. The DOM
does not.
This is a pedagogic discrepancy understandable to people used in
traversing the DOM who are frustrated that MSIE is natural with
nextSibling and that the rest are according to spec.[1] Something that
On 16/08/07, Keryx Web [EMAIL PROTECTED] wrote:
CSS considers only element nodes to be children or siblings. The DOM
does not.
Actually, selectors considers ONLY elements, never text nodes or
entity references (or comments, or PIs, or CDATA blocks or whatever).
Selectors work on the element