
Cascading Style Sheets (CSS) -
Allow you to apply consistent fonts, size attributes, colors, or other style elements to your document.
|
|
|
|
Code for Tables
|
Meaning
|
|
table { border: medium double; } |
All tables will have a border that is medium double, a font size of 12, font-family of Times New Roman, font color of green, and font-background color of white. The font-style will be normal, and the borders will be green and purple.
|
|
Code for Body
|
Meaning
|
|
body { background-color: #FFFFFF; |
The body will have a background color of white and text color of black. The parts of the scrollbar will be in different colors. The font-family is Times New Roman with a font size of 12 and color of black. |
|
Code for Hyperlink
|
Meaning
|
|
a { text-decoration:none; } |
All links will not display an underline underneath it. |
|
a:hover { text-decoration:underline } |
When the mouse is over an hyperlink a line appears that is blue. |
|
text-decoration:none;
|
When the mouse clicks on a hyperlink the color changes to purple. |
Created by: Alicia Persaud [RISP
361 - Web Development] [University at
Albany]
February 18, 2002