Page 1 of 1

Stylesheet Management

Posted: Wed Apr 19, 2006 2:49 pm
by pgoneill
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! ;D

Re: Stylesheet Management

Posted: Mon Apr 24, 2006 8:38 pm
by pgoneill
Alright, that's probably what I'll do - should be no problem - just a bit more complexity than being able to make small edits within the CMS.  Thanks.

Re: Stylesheet Management

Posted: Mon Apr 24, 2006 9:53 pm
by Dr.CSS
if i need hiliting i use PSPad editor, copy from web, paste and check/fix/change then paste back.
but it would be nice to have hilite online.

      mark