Previous Message
Next Message

apply browser hacks inline?

Sent by Christian Heilmann on 28 September 2005 12:12

> <div id="middle_extended" style="browser hack goes here"> </div>
> Is it possible to apply browser hacks that are not in the external css but inline.

To make them even more of a hack and be in the way of maintenance?

On MSIE this is what conditional comments are for. Most browser hacks
work on the basis that the browser stops rendering the style sheet
data, if you add this somewhere in the HTML body, who knows what will

IMHO the style attribute should only used in the worst of all cases,
the power of CSS lies in separation into an own document and
application to n documents.

Chris Heilmann
css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: