Pandora’s Film

Great, you took the photo. Now what? -That’s where I come in.

Dreamweaver: CSS Rules February 11, 2009

Filed under: CSS, Dreamweaver — jbstone @ 6:35 am
Tags: , , , , ,

CSS Rules create a list of detailed instructions for how certain aspects of a web page should look. Using CSS Rules, you can change fonts, color schemes, virtually anything with one click, versus manually going through code to make changes.

CSS Rules appear in a toolbar in the upper right. To create a new CSS rule: In the properties tool box, click the paper with the plus sign on it. Always be specific when naming rules. Titles like Body, Header, box, help keep track of the rules so you can easily locate a rule for editing.

picture-2

This window will pop up:

picture-4

Tags

Specific tags are created to apply in multiple situations. Tags tell specifications, such as font, size, and color. If you create a tag for H1, all H1 will look that way.

To create a tag: Select “Tag” in the dialogue box.

ID
ID’s are used for specific things, like page wraps.
To create an ID,  select advanced in the dialogue box. Begin all ID names with #.

Class
A class can be used over and over and only affects one thing.
To create a class, select “Class” in the dialogue box. Begin class names with a period.