Hey guys,
take pity on me with this question, but could someone explain style sheets?
cheers
chuck
Hey guys,
take pity on me with this question, but could someone explain style sheets?
cheers
chuck
Hey guys,
take pity on me with this question, but could someone explain style sheets?
cheers
chuck
Chuck
Very basically, instead of specifying many of the formatting in HTML eg font style, table background colours, you put the same information in a separate file - the style sheet and add a link in the HEAD of each page. The advantages are (for all but the oldest browsers), you get consistency, increased performance (the pages are smaller), and ease of changing things - you can change the
text to red from blue by one change in the CSS file.
More information can be found on all the normal HTML standards sites, and also in a lot of the readily available books. You can also look for *.css in your browsers cache and edit the files you find.
It's worth doing, but the XML equivalents are not too far away - XSL. Well, over the next year or two.
www.thelondonhouse.co.uk
Further to Simon's explanation, take a look at these.
From the horse's mouth: http://www.w3.org/Style/CSS/
Handy dandy lists: http://www.webreview.com/style/
CSS Validator: http://jigsaw.w3.org/css-validator/
Hope that helps!
cfn ... Jen
Jen Worden
Web Developer
www.meadoworks.com
Bookmarks