Proposal of @ua

@ua ie==8
{
 // hacks for Internet Evil 8
}
@ua ff<=3
{
 // hacks for Firefox 3 or older
}
@ua opera || ff
{
 // hacks for Opera and Firefox
}
@ua ff && ie
{
 // always ignored
}

I wonder mostly about IE (other UAs are generally good), because I don't 
wanna see anymore such shit like:

<!--[if IE]><link rel="stylesheet" href="ie-sux.css"/><![endif]-->
<![if !IE><link rel="stylesheet" href="non-ie-rox.css"/><![endif]>
<!-- non-commented <![if ...]> is also incorrect HTML code -->
<!--[if IE]><script src="re-styler.js"></script><![endif]-->
* html div#123
d\iv#abc

My proposal, even if will be issued in IE 99, can clear CSS code.

-- 
Nikodem
JID: nikn@jabber.org

Received on Thursday, 18 October 2007 14:45:54 UTC