IE7 invokes a DHTML behavior to load and parse all style sheets into a form that Explorer can understand. You can then use most CSS2 selectors without having to resort to CSS hacks.”

What does this mean? The potential for this is awesome. With it you may be able to actually design a webpage once, and with some exceptions, actually expect it to work the same in IE as it would in Gecko-rendered browsers. My favorite example of this is the ability to use the CSS2 “:hover” pseudo-class on any element, not just anchors. Check it out!

The best part? There is NO CHANGE required to your xhtml or CSS. You simply include an extra stylesheet. And what I’m planning on doing (someday when I actually start working on this site) is including that stylesheet on the server-side using PHP to detect the user-agent. That way no useless bytes sent to browsers that /can/ do CSS2.

: http://halr9000.com/article/43

Post a comment now » Sorry, the comments are closed.

No comments yet.

Sorry, the comment form is closed at this time.

  • Microblog

  • Recent Posts

  • Recent Comments

  • meta