This is a printer friendly version of How To Create Your First External CSS Style Sheet.
Become a web design god and start dabbling with CSS. The easiest way to start dabbling with CSS is to create a simple style sheet which will change the color and behaviour of hyperlinks.
More about changing hyperlink colors.
Code
a:link {
COLOR: #0000FF;
TEXT-DECORATION: underline;
}
a:visited {
COLOR: #800080;
TEXT-DECORATION: underline;
}
a:hover {
COLOR: #FF0000;
TEXT-DECORATION: underline;
BACKGROUND: #FFFF80;
}
a:active {
COLOR: #00FF00;
TEXT-DECORATION: none;
BACKGROUND: #FFFF80;
}
Alternatively, you can download a pre made zipped CSS with the above code.
Select the hex colors you want and edit the Style Sheet by changing the hex values.
After you have finished editing the Style Sheet, upload it to your server in ascii mode. More about editing the Style Sheet.
Relative Path Code
<link href="style.css" rel="stylesheet" type="text/css" media="screen">
Absolute Path Code
<link href="http://www.YourDomain.com/style.css" rel="stylesheet" type="text/css" media="screen">
© Copyright 2005 - 2012 GoldCoastWebDesigns.com