
----- Original Message ----- From: "Marcello Perathoner" <marcello@perathoner.de>
<HEAD> <STYLE type="text/css" title="red"> P { color: red } </STYLE> <STYLE type="text/css" title="blue"> P { color: blue } </STYLE> <STYLE type="text/css" title="green"> P { color: green } </STYLE> </HEAD> <BODY> <P>Don't show this to any DP Project Manager. </BODY>
Too late. We know all about that trick! :) The problem is that some browsers, whom shall remain nameless (*cough* IE *cough), go into "quirks" mode when there is multiple style sheets defined. Things that worked fine with just one style sheet defined now quit working correctly with multiple style sheets defined. Nevermind the fact that IE refuses to let you switch styles on the fly. Now, IE *shouldn't* switch to quirks mode base on multiple styles, but it seems to anyways (at least in the limited testing I did on the subject). It is also extremely annoying that IE triggers quirks mode if you include an XML prolog at the beginning. <?xml version="1.0" encoding="utf-8"?> (BTW, Marcello, the TEI conversion currently puts that prolog in ... which triggers IE to quirks mode DESPITE the Strict statement in the next line. We should see if we can safely remove it.) See http://www.quirksmode.org/css/quirksmode.html for a quick and dirty primer on quirks mode and why it exists. Josh