IE6 simply appears not to understand what that means, a similar effect can be achieved using the Descendent Selector:
Code:
div p {
color:red;
}
. . . with a twist. First consider that if you have a division with the id of 'text', it can be selected simply by its id. A Descendent can be used to select the targeted paragraphs, which themselves will be Descendent of the Descendent Selector (this requires an additional element in your markup though):
Code:
#text div p {
color:red;
}
The above rule will select all but the first paragraph in the element with the id of text if the markup looks like so:
HTML Code:
<div id="text">
<p>Hi</p>
<div>
<p>there</p><p>folks</p>
</div></div>
Bookmarks