|
Posted by Adrienne Boswell on 03/13/07 04:55
Gazing into my crystal ball I observed Toby A Inkster
<usenet200703@tobyinkster.co.uk> writing in
news:7t7gc4-v89.ln1@ophelia.g5n.co.uk:
>> I have a tendency to do the same, in HEAD put page specific styles.
>> One note though is when your make a dramatic site-wide style change
>> these little on-page exceptions may bite you in the end!
>
> Exactly.
>
> Say your site's entire colour scheme is green. As you publish mostly
> prose and only have one page that contains any tabular data, you
> simply add the following styling information to the HEAD of that one
> page:
>
> TH { background: #060; color: white; }
>
> A few months later, you decide to change the site's colour scheme to
> purple. You've long forgotten about the page with the green table,
> which now looks strangely at odds with the rest of the site's design.
>
> If you'd put it in the main style sheet, then you would have noticed
> it and updated it with the rest of the stylesheet changes.
>
> Generally speaking, I think all colour scheme and font family stuff
> should probably be kept centrally for this reason, even if you only
> plan on using it on one page.
>
I agree, that's why I have two style sheets, one for positioning, bold,
etc, and the other is color only. It makes it really easy to change a
color scheme site wide, especially if you want to do it for a holiday or
something. Change all of all blues to greens, all oranges to reds and
call it Christmas.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
[Back to original message]
|