Contents |
HTML was intended to define the content of a document, not to contain tags for formatting the document. For example:
<h3 style="color: red">This is an h3 heading with a Red color style</h3>
would output:
When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.
To solve this problem, the World Wide Web Consortium (W3C) created CSS.
In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.
All browsers support CSS today.
When a PageLines 2.0 webpage loads, there is an order (hierarchy) by which the CSS of that page is loaded:
It is important to keep this hierarchy in mind because the CSS that loads last will take priority over any CSS loaded before it.
There are a couple of FREE CSS Inspection Tools which can be used to do this. They are Firebug and Google's Chrome Inspection tool.
From Mozilla Firefox:
From Mozilla Firefox:
From Google Chrome: (The CSS Inspection Tool is built into Chrome)