hyperlink

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

Guest

How do I make a hyperlink change colour on mounseover?
regards,
Jacquie
 
JacquieCC said:
How do I make a hyperlink change colour on mounseover?
regards,
Jacquie

You can place this code in an external style sheet
and call it in the head by
<link rel="stylesheet" type="text/css" href="style.css" />

This is style.css:
a:link {color: blue;}
a:visited {color: fuchsia;}
a:hover {color: #0000dd ;}
a:active {color: #0000dd ;}

You should keep the order as is (LVHA), but you can vary the colours as you
wish. There may in fact be a recommended set of colours. I have the same
colours for hover and active - I am not sure whether that is a good idea or
not

If you want them all as hex, blue is #0000ff, fuschia is #ff00ff.
#0000dd is close to medium blue (#0000cd), so you could use that instead
 
OR - If you want the rollover effect to be on every hyperlink on that page,
1. Select "File" "Properties", then seclect "Advanced".
2. Then click on "Enable hyperlink rollover effects."
3. Then click on "Rollover style."
4. Then select the font, font style, color, and effect you want.
5. Click on OK.
 
or just stick with the "default" colours under Page properties.
change "Hyperlink", "Active Link" and "Visited Link" to whatever you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top