Ticket #186 (new Enhancement)

Opened 1 year ago

Last modified 7 months ago

Facilitate use of more than one CSS file at the same time

Reported by: Eric Myers Assigned to: Rytis
Priority: Minor Milestone: Undetermined
Component: Web - Project Version:
Keywords: CSS Cc:

Description

Right now one can only specify one CSS stylesheet file for the entire web site. It would be useful to be able to specify several, eg one for the whole web site theme, one for forums, one for some special functionality (I have in mind some CSS I have to facilitate pop-up menus).

One way to do this would be to make STYLESHEET a comma separated list.

In any case, keep in mind that the order of loading style sheets matters, so any mechanism should be documented and mention that fact.

Change History

(follow-up: ↓ 2 ) 05/14/07 07:01:56 changed by Rytis

I don't see the use for that; what's wrong with using @import "stylesheet2.css"; in primary CSS file?

(in reply to: ↑ 1 ; follow-up: ↓ 3 ) 06/20/07 12:17:59 changed by Eric Myers

Replying to Rytis:

I don't see the use for that; what's wrong with using @import "stylesheet2.css"; in primary CSS file?

Because I didn't know about that <shrug>. Now I do.

So if we can document this well enough then that is a better alternative.

(in reply to: ↑ 2 ) 06/20/07 16:36:37 changed by Eric Myers

Replying to Eric Myers:

Replying to Rytis:

I don't see the use for that; what's wrong with using @import "stylesheet2.css"; in primary CSS file?

Because I didn't know about that <shrug>. Now I do. So if we can document this well enough then that is a better alternative.

Also, there seem to be a lot of quirks with @import, so this would add some flexibility.

Comma, semicolon, or space separated list? I can implement it and you can review my work.

03/05/08 05:40:21 changed by Eric Myers

Sure, comma, semicolon, or space as separator. Why require one when you can honor all?


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.