Previous Message
Next Message

apply browser hacks inline?

Sent by Christian Heilmann on 28 September 2005 11:11


> <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
happen?

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
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: