links and colours

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I customized a style sheet with the colors I wanted for links, active,
hovered, and visited. I would now like to make the main links in light
colours, and the links in the text in dark colours. I've been trying for days
with embedded style sheets and inline styleas, but I'm getting noware. Can
anyone help

Roy
 
For one of the 2 areas of links you need to create a class and apply the class to the links there

Create a style in the head section for say the dark area links
<style type="text/css">
a.white {color: white; text-decoration: none}
a.white:link {color: white; text-decoration: none}
a.white:visited {color: white; text-decoration: none}
a.white:hover {color: white; text-decoration: underline}
a.white:active {color: white; text-decoration: none}
</style>

And apply the class to the links
<a href="yourlink.htm" class="white">


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| I customized a style sheet with the colors I wanted for links, active,
| hovered, and visited. I would now like to make the main links in light
| colours, and the links in the text in dark colours. I've been trying for days
| with embedded style sheets and inline styleas, but I'm getting noware. Can
| anyone help
|
| Roy
 
Back
Top