Site design help (html)

sam spetton

Junior Member
Jul 17, 2005
11
0
0
I am trying to do some a basic static website using dreamweaver & come across a problem. How can I have two different link styles on the one page?

I am using a .css file for all my styles which makes all the links the same. There are a couple of links that I need to make smaller & also have different color.
I played around in the .css file with the following:


h8 {

color: #0066CC;
text-decoration: underline;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
h8:hover {

color: #0099CC;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;


I was thinking that that would work but it only works in opera browser (strange). Anyone know how I can add different styles to my text links?

Appreciate the help.
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
put one of the sets of links within a div with a particular class and scope your css style to reference that class as well as the link.