Posted by Toby Inkster on 02/18/06 19:56
Julien CROUZET wrote:
> _You cannot have both._ [proprietary CSS and valid CSS]
Actually, you probably can.
There are numerous documented bugs in browser CSS parsers. By tripping the
right ones, you should be able to trick the browsers into reading some
proprietary CSS properties which are really within a CSS comment.
e.g. IE 5.x for Mac will apply this:
/* \*/ /* div{property:value;} */
though a standards-compliant browser should treat it as a comment (as
indeed all other CSS rendering engines seem to) and the CSS validator
should pass it OK.
Not that I'd recommend that in most circumstances.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|