This is Michael Hagen's TypePad Profile.
Join TypePad and start following Michael Hagen's activity
Michael Hagen
Recent Activity
There are actually a few strategies that you could be using to help out here:
* Use a series of multiple CSS files with different levels of reuse: a global CSS file with core layout, header, and text; a page level CSS file for styles specific to that page; and maybe even a widget level CSS file (this usually ends up inline though). Then when you have a family of sites, you would also have override files that gets applied after global.css, page.css, and widget.css, such as global_stack_overflow.css, etc. This way you can simplify the management of many different styles.
* If you're finding the need to copy and paste a color everywhere, you might be doing things wrong. This is what CSS classes were designed for. You can separate out your "look and feel" classes from your layout classes. This way you can reuse things like color, which fall in the look-and-feel category.
* Lack of nesting, I'm not sure what you mean by this. Could you provide some examples? You can use CSS selectors to apply a style to a div, or to nested divs. You can also apply multiple styles to a single div or class. Where would nesting come into play?
I hope this helps!
What's Wrong With CSS
We're currently in the midst of a CSS Zen Garden type excerise on our family of Q&A websites, which I affectionately refer to as "the Trilogy": Server Fault Super User Stack Overflow Meta Stack Overflow (In case you were wondering, yes, meta is the Star Wars Holiday Special.) These sites a...
Michael Hagen is now following The Typepad Team
Apr 30, 2010
Subscribe to Michael Hagen’s Recent Activity
