[support] Changing from CSS linking to CSS importing

Roberto Gorjão roberto at asenseofdesign.com
Tue Mar 17 18:32:04 UTC 2009


Hi!

I need to change the default output from the $styles variable so 
stylesheets get imported rather than linked to.

I mean, changing from this model:

<link type="text/css" rel="stylesheet" media="all" 
href="/modules/book/book.css?E" />
<link type="text/css" rel="stylesheet" media="all" 
href="/modules/node/node.css?n" />

to this model:

<style type="text/css">
@import url(/modules/book/book.css?E);
@import url(/modules/node/node.css?n);
</style>

Which would be the best approach to get this done?

Thanks in advance!

Roberto



More information about the support mailing list