Linking style sheets
To link a style sheet to a webpage you need to add the following line of code between the <head> and </head> elements of the page or pages you want to apply the effects in the Style Sheet to.
<link rel=stylesheet href="file_name.css" type="text/css" title="24-bit Color Style">
Change the "file_name.css" to your_own_file_name.css
or you can including the style into the html page
Add the following styles between the <head> and </head> elements of the code but surround the code with <style> & </style>. for example:
<style>
<!--
body {background : #ffffff url(/images/logo.jpg) no-repeat 100% 50%; margin-left : 5px;color : #000000; font : normal 100% Arial, Helvetica, sans-serif; text-align : left;}
other styles ...
-->
</style>
body {
background : #ffffff url(/images/logo.jpg) no-repeat 100% 50%;
margin-left : 5px;
color : #000000;
font : normal 100% Arial, Helvetica, sans-serif;
text-align : left;
}
a {
text-decoration : none;
background-color : #ffff00;
color : #ff0000;
font : normal 100% Arial, Helvetica, sans-serif;
}
a:hover {
text-decoration : none;
background-color : #ffff00;
color : #ff0000;
font : bold 100% Arial, Helvetica, sans-serif;
}
a:visited {
text-decoration : none;
background-color : #ffff00;
color : #00ff00;
font : normal 100% Arial, Helvetica, sans-serif;
}