J4Web wrote:

<style type="text/css" media="screen">@import url("/stylesheets/wsg_advanced.css");</style>
<link rel="stylesheet" href="/stylesheets/wsg_main.css" type="text/css" media="screen"


Is the import hack a candidate for first (or sole) item on the list of standard hacks?

After giving it some thought, I wouldn't call this a hack. CSS provides two ways of accessing external style sheets: @import and <link/>. Both are valid CSS. What the "hack" does is feed styles which aren't intended for NN4 by using a method which NN4 doesn't support. Compare this to what most hack do: they use irregular, but technically valid, ways of writing rule to take advantage of parsing errors in order to hide rules.


Another example of a "not a hack" hack might be conditional comments. Here too is a case of "not parsing" rather than "unable to parse".

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************




Reply via email to