34 users online (0 members and 34 guests)  

Thread: Link to text


  Results 1 to 4 of 4

Related

  1. Link text disappered-HELP!!    Forum: HTML Forum
    Replies: 43
  2. Text link buying tips.    Forum: Search Engine Optimization - SEO - Forum
    Replies: 1
  3. Cheap PR6 Run of Site Text Link    Forum: Internet Services
    Replies: 0
  4. Link text    Forum: CSS Forum
    Replies: 1
  5. Help with text/link colors    Forum: Graphics Forum
    Replies: 10
  1. #1
    Skippy's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2007
    Posts
    2

    Link to text

    I have a link that takes me to a table of names and phone numbers. I would like to have the name and phone number underliined or highlighted in some way when the user selects the link to the name. How do I do that?

  2. #2
    mschutte's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2007
    Posts
    7

    Re: Link to text

    Look into using the :hover keywords in CSS.

  3. #3
    mschutte's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2007
    Posts
    7

    Re: Link to text

    here is an example that works.
    HTML Code:
    <HTML>
    <HEAD>
    <STYLE>
    .decor {font-size: 10pt; text-align:left; font-weight:normal; color:black; text-decoration:none;}
    .decor a:visited {color:black; text-decoration:none;}
    .decor a:link {color:black; text-decoration:none;}
    .decor a:active {color:black; text-decoration:none;}
    .decor a:hover {color:black; text-decoration:underline;} 
    </STYLE>
    </HEAD>
    <BODY>
    <TABLE CLASS="decor">
    <TR>
    <TD>
    <A HREF="#">Adam Dunn</A>
    </TD>
    </TR>
    <TR>
    <TD>
    <A HREF="#">Ken Griffey Jr.</A>
    </TD>
    </TR>
    </BODY>
    </HTML>
    Last edited by mschutte; 08-17-2007 at 08:57 PM. Reason: to put in html code block.

  4. #4
    Skippy's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2007
    Posts
    2

    Re: Link to text

    Thanks for your help. I appreciate it.

    Skippy



Tags for this Thread