[thelist] simple html css question

Jon Haworth jhaworth at witanjardine.co.uk
Fri Jun 28 07:53:36 CDT 2002

Hi Peter,

> How do you do that again when you want a link to
> be grey not underlined and when someone hovers
> over it blue not underlined?

a {
  color           : #999; /* some sort of grey */
  text-decoration : none;
a:hover {
  color           : #00F; /* some sort of blue */
  text-decoration : underline;

Don't forget to specify a background-color as well, otherwise you risk
people not being able to see your links :-)


More information about the thelist mailing list