Sent by Jason Kohls on 16 February 2005 20:08
I've seen multiple stylesheets created for different media types,
browsers, but I haven't seen anyone attempt to create separate
stylesheets along the lines of normal Web site partitioning, namely
"Navigation", "Layout", "Typography" or content-specific partitions,
"Products", "Legal", and so on. Looking at the programming world, this
sort of encapsulation is commonplace.
The reason I'm bringing this up is due to the large size of our
stylesheet (+50KB and growing) and my inability to reduce the size
significantly through the normal methods (short forms, eliminating white
space, better inheritance, etc.). I've also considered compression
techniques but I'd to change the way that stylesheets are referenced and
used -- namely using pre-processing to only import stylesheets when
they're needed.
Do any of our gurus have any thoughts on why/when/how you'd want to
break up your stylesheet in separate, smaller files or arguments against
this? I'd be curious to hear how others have handled this issue.
Thanks,
Jason
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/