Webmaster Site - Australian Webmaster Resource Site, Australian Webmaster Unite onMouseOver Colour Change
onMouseOver Colour Change Webmaster Lessons Tutorial TUT @ Webmaster Site.com.au

   onMouseOver Colour Change Lesson / Tutorial

  onMouseOver Colour Change

    added on the Jan 7, 2005


This is really basic and easy.

<style type="text/css">
a {
font-decoration:none;
}

a:link {
color: #0006FF;
}

a:visited {
color: #0006FF;
}

a:hover {
color:#FF0000;
}

a:active {
color: #0006FF;
}
</style>


The font-decoration in "a" makes it so that the links aren't ever underlined. You can remove it if you wish to. a:link is the normal link color, a:visited is the visited link's color, a:active is the active link's color, and a:hover is the color of the link when being hovered over with the user's mouse.

font-decoration:none;

font-decoration: Here you can insert stuff like, none, underlined, etc.

color: Well, not much to explain, just put the color you want in the sintax: #COLOR.

That's it, pretty simple!


Editor's Choice Links ::


  Home Page
  Forums
  Webmaster News
  Add a site
  Site map
  Advertising
  Contact Us

  ozLance - The Freelancers Marketplace
  Australian Web Directories
  Host Compare
  WebTemplates.net.au
  DirStats - Directory List
  Webmaster Directory Network
  Free Website Templates

Webmaster Site © 2004, All rights reserved
Website design by - No Fear Computing