Does anyone know how to simulate the adjacent sibling selector for IE? From my tests, it does not seem as if it is supported (using IE 6).<!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS21/selector.html#adjacent-selectors">http://www.w3.org/TR/CSS21/selector.htm ... -selectors</a><!-- m -->
The question would be whether IE 6 supports CSS 2.1 or not.Originally posted by gil davis
<!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS21/selector.html#adjacent-selectors">http://www.w3.org/TR/CSS21/selector.htm ... -selectors</a><!-- m -->
The question would be whether IE 6 supports CSS 2.1 or not.
The answer to wether or not IE supports CSS 2.1 is "sort of". The IE development team basically "picked and choosed" what they wanted to support from the CSS 2 spec. There is no CSS method of doing this, because IE isn't standards-compliant. However, I know that IE has these little known things called "Behaviors". Erm, I no very little about them, and I'm unsure wether or not they can replicate this. But I know that they can be used to replicate things like the pseudo class :hover for elements other than links.
<!-- m --><a class="postlink" href="http://msdn.microsoft.com/workshop/author/behaviors/overview.asp">http://msdn.microsoft.com/workshop/auth ... erview.asp</a><!-- m -->
The question would be whether IE 6 supports CSS 2.1 or not.Originally posted by gil davis
<!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS21/selector.html#adjacent-selectors">http://www.w3.org/TR/CSS21/selector.htm ... -selectors</a><!-- m -->
The question would be whether IE 6 supports CSS 2.1 or not.
The answer to wether or not IE supports CSS 2.1 is "sort of". The IE development team basically "picked and choosed" what they wanted to support from the CSS 2 spec. There is no CSS method of doing this, because IE isn't standards-compliant. However, I know that IE has these little known things called "Behaviors". Erm, I no very little about them, and I'm unsure wether or not they can replicate this. But I know that they can be used to replicate things like the pseudo class :hover for elements other than links.
<!-- m --><a class="postlink" href="http://msdn.microsoft.com/workshop/author/behaviors/overview.asp">http://msdn.microsoft.com/workshop/auth ... erview.asp</a><!-- m -->