At 07:22 AM 8/3/2005, Scot Schlinger wrote:
In working on my first project, I have come across the following
dilemma: The site design that I instituting will have a different look
for the "body" of the home page versus the rest of the pages thereafter.
My style sheet for the portion of the site that pertains to this area is
getting rather large...What is a good way to separate these styles and
then include them back on the appropriate pages?
Scot,
My technique varies with circumstances, but here's my usual approach:
global.css
Styles that apply site-wide
index.css
Styles for the home page only (when that's significantly different
from the rest of the pages)
Often I'll group the styles necessary for the sub-pages in one file, either
global.css or a third file.
I usually identify each page with an id or class in the body tag, so that I
can style:
body.links dl {...}
body.contact dl {...}
Cheers,
Paul
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/