Previous Message
Next Message

embed CSS styles right within HTML page?

Sent by "G.Sørtun" on 18 August 2009 23:11


Ce Ce wrote:
>  How do you determine if it might be best to embed some styles right
>  within the html page.
No rules, but...
Page specific styles (for "this page" only) may as well go in the page 
head, so as to avoid unnecessarily complex stylesheets with lots of "one 
off" stuff.
Site wide / section wide styles (whatever gets reused often) belong in 
separate stylesheets.

I often reflect where styles can be found in the ID/CLASS name, like 
having '.int05' for a class which styles is found in the page head. 
Makes debugging - and life as designer/coder in general - easier :-)

regards
    Georg
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: