Stylesheet Management
Posted: Wed Apr 19, 2006 2:49 pm
I'm curious to find a way to manage stylesheets more efficiently using CMSMS. I've started making my first site using the CMS (developing locally).
The dynamic stylesheet generation is nice. However, I'm having trouble finding a method of linking to a stylesheet that imports another stylesheet. Generally, I do this to filter out styles from old/obsolete browsers and feed them a plain text page.
So, in each , I'd have:
and in that file would be:
@import'the-real-styles.css';
That @import syntax is ignored by certain older browsers which get a design-free page. The problem is that if I create two stylesheets in the CMS and @import one from another, it doesn't work since the stylesheets are called via dynamic URIs.
I could just create flat files and edit them outside the CMS, but that sort of defeats the purpose of having the CMS in the first place (not completely, but sort of).
Suggestions? How do you manage your stylesheets in the CMS? Thanks in advance!
The dynamic stylesheet generation is nice. However, I'm having trouble finding a method of linking to a stylesheet that imports another stylesheet. Generally, I do this to filter out styles from old/obsolete browsers and feed them a plain text page.
So, in each , I'd have:
and in that file would be:
@import'the-real-styles.css';
That @import syntax is ignored by certain older browsers which get a design-free page. The problem is that if I create two stylesheets in the CMS and @import one from another, it doesn't work since the stylesheets are called via dynamic URIs.
I could just create flat files and edit them outside the CMS, but that sort of defeats the purpose of having the CMS in the first place (not completely, but sort of).
Suggestions? How do you manage your stylesheets in the CMS? Thanks in advance!