Bob,

on Thursday, March 15, 2007 at 15:59 [email protected] wrote:

> I've been modularizing like this for years:

> <link href="../../as/cs/com.css" rel="stylesheet" type="text/css"  
media="screen">>
> <link href="../../as/cs/p7pmv0.css" rel="stylesheet" type="text/css"  
media="screen">>
> <link href="../../as/cs/thickbox.css" rel="stylesheet" type="text/ 
css" media="screen">>

> Am I doing something wrong?

> Is there an advantage to importing over linking, or a limit to the  
> links (ie. should only one be linked, the rest imported and if so, why?

That depends on your environment. If you use an template based
approach to create your HTML (like Dreamweaver templates or any CMS)
there is no difference but the exclusion of older browsers when using
@import rules. But if you'd have to change every single HTML page when
adding or removing a reference to a CSS file... that would be much
easier to change if you only link one stylesheet which imports the
others.

It's just a question of how you want to organize your site.

I prefer to only link one stylesheet to have it separated from the
HTML. But that is personal preference.

regards

  Martin

 





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to