Results 1 to 3 of 3

Thread: html...2 color links.

  1. #1

    Thread Starter
    Lively Member VB Begginer Kid's Avatar
    Join Date
    Jul 2001
    Location
    home
    Posts
    127

    html...2 color links.

    if i have a table with the link/vlinks color set to black, and another table, can i make the second table's link/vlink white w/ out having to change both of them to either white or black?basically i want 1 black and the other white.thnx in advance.
    I'm a beginner.
    ------------------------------------------------
    Your impossible ego ***** is like a
    Megalomaniacal tab on my tongue
    You *****in' touch me I will rip you apart


  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    You could use CSS. Do a search for it on google or something. Or someone else will probably post code. You could also use JavaScript and the onMouseOver onMouseOut.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    You can do that using css. For example, here's how to do it using the DIV tag and CSS


    Code:
    <STYLE type="text/css">
    a.first { color: black; font-weight: bold;}
    a.second { color: white; font-weight: bold;}
    </STYLE>
    
    
    <DIV ID="first">
    <table blah blah>
    blah blah
    </table>
    </div>
    <DIV ID="second">
    <table blah>
    blah blah
    </table>
    </div>
    HTH

Posting Permissions

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



Click Here to Expand Forum to Full Width