|
The Concept Behind CSS
|
By Jose Valdez
[Hits: 18465]
|
|
What is The Concept Behind CSS?
The concept behind CSS (a.k.a. cascading style sheets or stylesheets) is really simple. CSS allows you to make changes to allof the web pages that link to the CSS file at once by changing astyle in the style sheet, instead of having to manually changeevery style in every HTML file.
CSS allows you to create a single document of code, similar toan HTML file, that lets you specify the colors, fonts,backgrounds, etc. of a web page. The CSS file is then linked tofrom the web page(s) that you want to have the same styles thatyou specify.
If CSS did this and only this, they would save you a lot oftime to say the least, especially if you have a large ormultiple web sites. This alone is worth learning CSS, however,style sheets allow you to do this and much more.
CSS also allows you to:
*position text and graphics precisely where you want to
*add rollover effects to links
*control the spacing between letters, lines, margins, web pageborders
*specify the units such as centimeters, pixels, points and more
*hide content from certain web browsers in certain situations.An example of this is when you have some content that you wantto appear only in your web pages, but not in print.
In the end, CSS can save you a lot of time and effort and isvery easy to learn.
|
|
|
|