Call to action People:"We are starting to see the first round of sites and pages breaking due to the CSS fixes we have made. We would like to ask your help in cleaning up existing CSS hacks in your pages for
IE7. It is has been our policy since
IE6 that under quirks doctype we will not make any behavioral changes so that existing pages will continue to render unmodified, but under the strict doctype we want to change behavior to be as compliant as possible with the web standards. For
IE7, we introduced new CSS functionality (see
Chris blog post for the full list of new CSS functionality) and cleaned up our parser bugs. This leads now to several CSS hacks failing. If you are using IE7 (you are MSDN subscriber or received a copy at the PDC) you may notice major sites breaking due to the use of CSS hacks and the strict doctype. ..."
"We ask that you please update your pages to not use these CSS hacks. If you want to target IE or bypass IE, you can use conditional comments ."
Here is a simple example how you would use it in the Slashdot scenario:
Using the existing style block:
#footer .search
{
text-align: left;
position: absolute;
top: 0;
left: 1em;
margin: 0;
padding: 0;
}
In a new style block underneath
<!--[if IE]>
<style>
#footer .search
{
margin-top: -1.6em;
}
</style>
<![endif]-->
"I would prefer a CSS solution too but currently there is not one in the CSS standard. Please help us spread the word so it is an easier decision for us in the future to make improvements to our standards implementation (even if it means breaking customers).Thanks, - Markus Mielke"
More about CSS::
CSS Recent Changes::
RSS FeedLiteratur[de]::
Webdesign mit (X)HTML und CSS
dan - 2:56 PM October 26, 2005