Barney Carroll wrote:
<link>?
<style> & @import?
Which do you use, for what, and why?
here's what I do:
<!-- import complex style sheet hides from older browsers -->
<style type="text/css" media="screen">
@import "/styles/layout.css";
</style>
<!-- begin conditional comment for IE only CSS - with IE7 in mind -->
<!--[if IE]>
<link rel="stylesheet" type="text/css" ref="/styles/iehacks.css" />
<![endif]-->
<!-- begin conditional comment for IE only CSS - with IE7 in mind -->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="/styles/ie7hacks.css" />
<![endif]-->
<!-- begin conditional comment for IE 5 only CSS - with IE7 in mind -->
<!--[if lte IE 5.5000]>
<link rel="stylesheet" type="text/css" href="/styles/ie5hacks.css" />
<![endif]-->
<!-- begin link to design styles for print -->
<link rel="stylesheet" type="text/css" media="print"
ref="/styles/print.css" />
so that really old browsers get unstyled content and any IE hacks are
filtered into alternative stylesheets.
works for me.
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************