User:Ccsmith/sandbox/wiki3

Common.css
Common.css allows you to put CSS coding in only once for a particular tag rather than having to put inline styling of each occurance of that tag.

Create a Class
.colorText {color:green } You will notice the same syntax as inline styling, that is: "color:green".
 * First, we have to create a "class" in which we will put our CSS coding. Here we will create a class "colorText" in which we will put the coding to color anything green.
 * For practice, you will create a page to contain your common.css coding. It is created by typing the following: "User:YourUserName/common.css".  Then type the following:

The period tells you browers that the next word is a class. A class is where you will put your CSS coding. In our example, we want a class that respresents a particular color, in this case: green. So to read the code, we say we have a class called "colorText" and its value is green.

Place a class
Next inside every  you will type . with the common.css in place, all your tags which look like this, the text will be green. If you enter a  without the class, the text will be whatever is default.