Sunday, February 22, 2009

CSS (SISON)


CSS! (CASCADING sTYlE sHEEt!) tHis contains all the format for your HTML.

External Style Sheet

An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the link tag. The link goes inside the head section.

☼Internal Style Sheet☼
An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section with the style tag.

☼Features of External Style Sheet☼

By using the Link Tag to load a basic external style sheet (CSS), it's possible to control the look n feel of multiply WebPages by making changes to one style sheet.
This means that it is easy to change font, bgcolor, background.

⌂Types of external CSS☼
There are three types of external style sheets
♥Persistent
♥Preferred
♥Alternate
The most common external style sheet is the persistent link.
To use special definitions, such as the .note shown at the end of the example, just use the Span tag to set the format around a section. For example, the .note defined in the example can be used for all footnotes on ALL pages by using this code.

No comments: