Tutorial: External style sheets
Contents
1. Introduction & Tools
2. How external style sheets and html work together and what each does
3. Linking the html and the external style sheet
4. A bit about writing css in an external style sheet
5. Putting the css into the html code
6. Page body & page backgrounds
14. Container as rows or columns
18. Validating and checking the code
20. Working with backgrounds: single DIV background page
Putting the css stuff into the html code
Basically: if it starts with a "#" it goes in as
a DIV
If it starts with a "." it goes in as a class
#wrapper
{
width: 950px;
}
That's a DIV
.bold {
font-weight: bold
}
That's a CLASS
The body properties are called from the css automatically, however, Classes and DIVS must be written into the html. More about this a little later. First let's set up a page background in the external style sheet.
Tutorial: External Style Sheets
www.anniemation.com
ALL IMAGES AND CONTENT COPYRIGHT 2011, ANNIEMATION
ANNIEMATION IS A REGISTERED TRADEMARK