[thelist] Cond. comment to call up IE stylesheet?

Robert Gormley robert at pennyonthesidewalk.com
Fri Feb 25 19:33:10 CST 2005


<!--[if IE]>
<style>
div.logo {
	margin-left: 10px;
}
</style>
<![endif]-->


is the essential syntax, but more can be found here:

http://www.quirksmode.org/css/condcom.html

D Ross wrote:

> Hi all,
> I am doing some freelance work for a web design firm in town.
> He told me to add a conditional comment/s that calls up a stylesheet
> for IE styles only.
> ...and to place it at the end of the <head>




More information about the thelist mailing list