zombie_002
10-11-2006, 12:35 AM
i cant seem to remember the code to remove the under line from the links on a webpage , and how do i also change the color of the links help please thanks
|
View Full Version : linking help please zombie_002 10-11-2006, 12:35 AM i cant seem to remember the code to remove the under line from the links on a webpage , and how do i also change the color of the links help please thanks J to the izzosh 10-11-2006, 12:38 AM This can (and should) be done using CSS. The text-decoration property can be used to remove the underline and the color property can be used to change the colour. Try taking a look at this: http://www.lissaexplains.com/css2.shtml You would do well to pursue more knowledge of CSS afterward. zombie_002 10-11-2006, 03:39 PM thank you that did help me out alot but i have one question that has to deal with this, is there anyway i can change what the links look like in different table instead of having them all do the same thing when i have this code between the </title> and </head> <style type="text/css"> A:link { text-decoration: none; color:#000000; } A:visited { text-decoration: none; color:#000000; } A:hover { text-decoration: none; color:#ffffff; } </style> can you please pb&j 10-11-2006, 10:34 PM sure, create a class and apply that to the second table... <style type="text/css"> A:link { text-decoration: none; color:#000000; } A:visited { text-decoration: none; color:#000000; } A:hover { text-decoration: none; color:#ffffff; } .secondtable A:link { text-decoration: none; color:#ff0000; } .secondtable A:visited { text-decoration: none; color:#0000ff; } .secondtable A:hover { text-decoration: none; color:#c0c0c0; } </style> in your table tag, add this... class="secondtable" |