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 }
 * Lets say we want to make a tag to have the green.
 * First, we have to create a "class" in which we will put the CSS to make something green.
 * Let name the class "colorText" in which we will put the CSS coding.
 * 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:
 * You will notice the same syntax as inline styling, that is: "color:green"
 * So to read the code, we say we have a class called "colorText" and its value is green.

Place a class

 * Let's suppose you want all text in "div" tags to be green.
 * Inside of every  you want the text to be green, you will type


 * If you enter a  without the class, the text will be whatever is default.