Ok, ok...I preach the fonts and more. Yep!
Well, try this and then tell me what YOU think.
In the "head" tag of each page in your site, put this:
*link rel=stylesheet href="zedd_style.css" type="text/css"* using the angle brackets in place of the stars.
Now, open notepad and paste in this:
A:link [ COLOR:#666699; TEXT-DECORATION:none; ]
A:visited [ COLOR:#666699; TEXT-DECORATION:none; ]
A:active [ COLOR:#ff9900; TEXT-DECORATION:none; ]
A:hover [ COLOR:#ff9900; TEXT-DECORATION:underline; ]
.size10 [
COLOR: #333333;
FONT-FAMILY : Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE: 10px;
FONT-WEIGHT: normal;
LINE-HEIGHT: 14px;
]
.size10bold [
COLOR: #333333;
FONT-FAMILY : Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE: 10px;
FONT-WEIGHT: bold;
LINE-HEIGHT: 14px;
]
Then save as zedd_style.css in your main directory.
Now let's break it down. This page will totally control your whole site from one place. I have web sites I can completely change in minutes. We're
talking hundreds of pages, but let's work with baby steps for the new people.
A:link [ COLOR:#666699; TEXT-DECORATION:none; ]
A:visited [ COLOR:#666699; TEXT-DECORATION:none; ]
A:active [ COLOR:#ff9900; TEXT-DECORATION:none; ]
A:hover [ COLOR:#ff9900; TEXT-DECORATION:underline; ]
This will define ALL of your navigation links. Keep them in this order (I have had hover issues when not in this order) and you will see, I can have
underlines, no underline (none), and the link colors. NO MORE DEFAULT BLUES! Pick your colors and work them in!
.size10 [
COLOR: #333333;
FONT-FAMILY : Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE: 10px;
FONT-WEIGHT: normal;
LINE-HEIGHT: 14px;
]
This defines ONE FONT. I could (and do) have tons defined usually so I have everything at my fingertips, but just start here. This font is called
"size10" and I define it as the color I want, the font family in the order I chose (if the first is not on the viewing machine, it goes to the
next...), the font size, wieght (normal or bold) and the line height (spacing).
Wherever you want to use this font (pick one page), then in the "font" tag just add class="size10"
Easy right? Now see I have a bold type too, I can add where I like. Now imagine I have:
.size10red
.size10blue
.size10brown
.size10pink
.size14orange
I can use them where I like.
How about a special one defined for a note to my mom?
.momfont
or
.anything
.whatever
Just define it and then add class="anything" to the font tag.
-----------------------------------------------------------
You can add class="whatever" to just about any html tag. Table (add it to each "td" tag), font, input, etc...
Now, more advanced, add this to the CSS page.
.pagecolor [
background-color: #ffffff;
]
Pick a table "td" tag and add class="pagecolor". Now it is controlled by ONE PAGE. The CSS page. Imaging a hundred pages linked to this? I now
want the backgrounds to be black. I change the CSS page to:
background-color: #000000;
All hundred pages just changed when I save the CSS and upload it. Getting some ideas of power and what can be termed "modular" architecture?
Play around and hit me with any questions...