
C S S
[ C a s c a d i n g S t y l e S h e e t s ]
Cascading Style Sheets can really save you time on the layout of your pages.
Just make a style sheet to tell your pages what background colour, font style,
colour & size you want & then just put a link in each page to the style sheet.
Each page will then use the style sheet layout.
You don't need to know anything
about creating style sheets,
Style Master 2.1 is a very easy program for making style sheets & it'll
create them for you. It'll even put the link to the style sheet you create in
you web pages.
Here's an example of the CSS sheet used for this site:
body, p, li {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 9pt;
background-color: #ffffff;
color: #808080;
}
/* Because Netscape Navigator 4 does not allow inheritance into tables, and
breaks inheritance after tables, rather than simply setting properties on the
body and relying on inheritance, we explicitly set the properties using a
selector group. */
p {}
a:link {
text-decoration: none;
color: #5b7edc;
}
a:visited {
text-decoration: none;
color: #5b7edc;
}
a:hover {
text-decoration: underline;
color: #5b7edc;
}
a:active {
text-decoration: none;
color: #5b7edc;
}
BODY {
SCROLLBAR-FACE-COLOR: #FFFFFF;
SCROLLBAR-HIGHLIGHT-COLOR: #FFFFFF;
SCROLLBAR-SHADOW-COLOR: #FFFFFF;
SCROLLBAR-ARROW-COLOR: #808080;
SCROLLBAR-BASE-COLOR: #808080;
scrollbar-3d-light-color: none;
scrollbar-dark-shadow-color: none;
}
this css file is linked to every page. You just embed it into the head of
every page:
<link rel="stylesheet" type="text/css" href="sitestyle.css">
| |
best viewed at
1024x768
using

Internet Explorer
|