I'd set an ID in the body tag for each individual page and divide up your
CSS based on that. body id="index", body id="common", etc.
Then you've got
#index ... {
}
#common ... {
}
I do a lot of work with a product called Farcry which is a content
management system and this is how I change styles on a per-page basis.
_____
Jake Churchill
Team Leader
11204 Davenport, Ste. 100
Omaha, NE 68154
http://www.cfwebtools.com
402-408-3733 x103
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Crosse
Sent: Monday, February 18, 2008 10:27 AM
To: 'CSS Discussion'
Subject: Re: [css-d] Request for Comments on this CSS Stylesheet Approach
On 18/02/2008 16:09, Rick Faircloth wrote:
> I've realized at the start of a pretty large site, including
> Internet and Intranet sections, that my stylesheet could grow
> very large and even finding sections of styles for particular
> pages could be a cumbersome task.
>
> What I'm considering is having one main stylesheet, then
> having supplemental stylesheet for the various pages I will create.
> E.g., for a particular page, I would have main.css, plus index.css.
> For announcements, I would have main.css, plus announcements.css.
>
> I would be avoiding loading a lot of irrelevant styles for a particular
> page and make finding style references much easier, too.
You could take the modular approach. Instead of creating stylesheets
for individual pages, you could, for example have
* common.css
* web.css
* intranet.css
Having individual style files for individual pages seems worse than
embedding styles in the head of a document. It seems to me you've
got all the disadvantages plus extra calls to the server.
--
http://antanova.blogspot.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.7/1284 - Release Date: 2/17/2008
2:39 PM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.7/1284 - Release Date: 2/17/2008
2:39 PM
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/