...

View Full Version : Please help ...



HormonX
10-06-2002, 09:25 PM
Not sure how to explain it ... i have a table and in that able i have 5 rows, in each row there is a link. When you go over the link background changes color so does the text. I done that using CSS. Here is the deal.

Table background color is darkgrey and font color is white
when going over with the mouse the background changes to light grey and font color changes to black

The problem i have is that if i try to use a link on any other parts of the page i cant see anything because the original font color is whie so is the background. When i go over with the mouse over where the link should be i can see it being black.

Question is: is there a way of doing so i can use different font colors for links no the same page ? example would be;

link: black with mouseover it color changes to blue
link2: orange with mouseover it color chnages to green

if you can help me with that ... i would apprecitate it a lot

Thanx in advance

HormonX

p.s. hope i didn't confuse you too much :)

Nightfire
10-07-2002, 01:51 AM
a{
color:blah;
}

a:hover{
background-color:blah;
color:blah;
}

a.link2{
color:blah;
}

a.link2:hover{
background-color:blah;
color:blah;
}


For the links

<a href=blah>link1</a>
<a href=blah class=link2>link2</a>

Mhtml
10-07-2002, 04:56 AM
Blah!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum