By: web design tutorial | posted in HTML/CSS, Tutorials, Web Design |
Date: July 4th, 2009
CSS stand for Cascading Style Sheets. A CSS style is a collection of formatting attribute that is use to style an element on a page. A style sheet is a collection of these styles that can either apply on a single page on a site, or multiple pages on a site or the entire site.
Understanding some of the basic rules of CSS can make you write more efficient styles and help you manage more efficiently with your website.
If you already know the style in word or Indesign you already know about how style work. If you want the header to look a certain way and have a certain color, you will only need to change the style of that header and it will change that header style in the entire site. No need to change each header one by one. Modifying that one style of the header will change all the headings of the site.
You can easily modify the look and feel of an entire site with one file. By having your CSS in one file and linking all your pages to this single CSS file. You an easily modify the look and feel of your entire site with one file.
There are 3 ways to place the styles. You can either place the style on a external file and linking all your pages to that single file. Or you can go ahead and embed those styles on the page itself. Lastly, you can place an inline style on the element..inline style are not recommended but sometime it is use.
As a general rule, inline style with overwrite embed style, and embed style which will overwrite external style.
I would recommend all of your pages linking to a single external style and you can easily open that one file to change the look and feel of the entire website.
Find more info on ““ click on the text links below.
By: web design tutorialSite:
Info:


W3C XHTML 1.0,
W3C CSS

[...] CSS stand for Cascading Style Sheets . A CSS style is a collection of formatting attribute that is use to style an element on a page. A style sheet is a collection of these styles that can either apply on a single page on a site, or multiple pages on a site or the entire site. See the rest here: Understand Style Sheets [...]