![]() ![]() |
||
|
Using CSS in PageYou can add a style to your page by adding it between the head tags, or as in line style. We will deal with head first, if the style below was added to this
page between the head tags, <Style> this sort of thing is OK if you have a 5 page site, but imagine a 100+
pages and this on all pages, Then a few months later sees a site that has nice colours and something similar would enhance the look of their site, now the fun begins, plowing through a 100+ pages altering all the styles, now our smart thinking person is wishing a linked style sheet had been used because all that had to be done was alter 1 CSS page and job done, 30 minutes, as opposed to ????? hours + gallons of coffee. Another saving is weight, the CSS page running this site is 3kb thats not a lot on a big ship, but imagine if style was added to all 100+ pages, get ready to swing out the life boat. <Style>
change this to this much nicer
|
|