Cascading Style Sheets (CSS) -

Allow you to apply consistent fonts, size attributes, colors, or other style elements to your document.

 

Cascading Style Sheets, Level 1 Cascading Style Sheets, Level 2
Cascading Style Sheets in 7 Easy Steps WebEnalysis
CSS Pointers Group An Introduction to Cascading Style Sheets
Cascading Style Sheets Anthony's Cascading Style Sheets Tutorial
Getting Started With Cascading Style Sheets Also Known as Lily's Gallery,CSS
Cascading Style Sheets Advanced CDD Layouts:Step by Step

 

Code for Tables
Meaning

table {

border: medium double;
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #660099; background-color: #FFFFFF;
font-style: normal;
border-color: #660099 #660099 #1E725B #1E725B

}

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;
text-color: #000000;
scrollbar-face-color:#5708F7;
scrollbar-shadow-color:#BD3CDA;
scrollbar-highlight-color:#1E725B;
scrollbar-3dlight-color:#BD3CDA;
scrollbar-darkshadow-color:#66097B;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#BD3CDA;
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000

}

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
color: #1E725B;

}

When the mouse is over an hyperlink a line appears that is blue.


a:active {

text-decoration:none;
color: #1E725B;


}

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