dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: mouseover font color change

  1. #1
    Join Date
    Jun 2008
    Posts
    1

    mouseover font color change

    Does anyone know a better way to get the text to change color as a user mouses over the text? I want to use camtasia to do some video tutorials and would like the font color to change as I mouseover with the cursor.

    <html>
    <head>

    <style>
    .changecolor {color:black; text-decoration:none;}
    :hover.changecolor{color:red; text-decoration:bold;}
    </style>

    </head>
    <body>

    <font size="7">
    <a class="changecolor" href="http://">Now </a>
    <a class="changecolor" href="http://">is </a>
    <a class="changecolor" href="http://">the </a>
    <a class="changecolor" href="http://">time </a>
    </font>

    </body>
    </html>

    Screen looks like this and does work but I'm sure this is very inefficient.

    Now is the time

    Edit by admin: no contact info permitted on the forum, thank you

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Messy eh? That about all you can do.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles