![]() |
||
| |
|
|
|
|
|
|
CSS tutorials - part 1 To get started, all you will need to create your style sheets is a simple text editor, or access to your HTML documents source code, if you choose to put the CSS information into your headers of each page. Personally I would recommend the later of the two. OK lets get on with it. Now keep in mind if you wish to call the sheet from your page, instead of include the CSS code into each page, you need to insert this into your <HEAD></HEAD> or your HTML documents. <link rel="stylesheet" href="http://www.path-to-your-css.com/filename.css" type="text/css"> As you can see above, your CSS filename needs to end with a .css. Basic link appearance Insert this into your css file: A:link These will define link properties. A:link defines the color or the normal link, A:visited defines the color of a visited link, A:hover defines the color of the link while your mouse is over it, and A:active defines the color of an active link. Lets take a look at the format... A:link {color: purple} Will make your links purple in color. Lets take a look at the color scheme I used for my CSS links: A:link {color: navy} These are the 16 colors you can use that are taken from the Windows color palette: Aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow. |
Table of Contents
|
|||||
|
© 2000-2004 IceHouse Designs, Inc. View Privacy Statement. |
|||||||