SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Link Mouse-Over

  1. #1
    SitePoint Enthusiast davet's Avatar
    Join Date
    Jun 2003
    Location
    Tampa, Florida
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Link Mouse-Over

    How do I create the mouse-over effect on links? For example, look at the left toolbar links at http://office.microsoft.com/home/

    The menu looks like just text links, but are underlined when you move your mouse over them.

    How do I accomplish this effect?

  2. #2
    SitePoint Zealot Tygger2512's Avatar
    Join Date
    Jul 2003
    Location
    Pittsburg, KS
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.w3.org/TR/REC-CSS2/select...pseudo-classes gives you details on CSS pseudo-classes.

    The shortcut answer is:
    Code:
    a:hover {text-decoration: underline}
    Andy.
    Learn the Emotional Freedom Technique at www.as-if-by-magic.com

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2003
    Location
    UK
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can also try out this.

    I have made a code for you. Hope it's helpful for you !

    Code:
     
    <html>
    <head>
    <style type="text/css">
    a  {
       text-decoration:none; 
     }
    a:hover {
       text-decoration:underline;
     }
    </style>
    </head>
    <body>
    <a href="#">Change the effect</a>
    </body>
    </html>

  4. #4
    SitePoint Enthusiast davet's Avatar
    Join Date
    Jun 2003
    Location
    Tampa, Florida
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by eRIKA
    You can also try out this.

    I have made a code for you. Hope it's helpful for you !

    Code:
     
    <html>
    <head>
    <style type="text/css">
    a  {
       text-decoration:none; 
     }
    a:hover {
       text-decoration:underline;
     }
    </style>
    </head>
    <body>
    <a href="#">Change the effect</a>
    </body>
    </html>
    thank you thank you =)

Bookmarks

Posting Permissions

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