what I am looking for is having different link colors, but all have the same hover color. Right no there is a hover for all link classes but I'm trying to shorting the code.

with just putting the
a:hover

when previewing in frontpage is works....go back to design....back to preview and it stops working.
When trying to view in IE is never works.

Anyone try something liek this? got any ideas?

h

tsguitar2004

10-17-2004, 07:46 PM

Howdy and welcome to the forums. Glad you could make it!

I think that if you make all the "a"s in your style sheet lowercase, this will work. The links in your source code are all lowercase, so the style sheet should be, too. But here's the answer to what I think is your question:

Since the links all point to "#" and since the page you are on is "#," then the colors won't change because you've visited the page the links point to, resulting in the link colors being "#0000aa." Just try to point the links to a page that doesn't exist to see what happens. Change "#" to "sillypage.html" and you should see those colors happen.

Does that do it for you? Post back with results.
-ts

jobe

10-17-2004, 08:06 PM

thanks tsguitar2004

I tried putting them to lowercase "a" instead of uppercase and no go.

tried changing the link to point somehwere else "silly.html"
and poof..the link i change the href is changing color on hover, the other two do not ( as the are still "#" )

Thanks for the advise

All I'm hoping to do is save on code....I do alot php coding, very little ( if any ) on the design and presentation ( table layout, css sheets, etc. )

I know you can do
a.test:link
a.test:visited
a.test:hover
a.test:active

there are about 7 or 8 different link classes..in which i would specify at least 3 lines of code for every class
thats a lot of lines :mad:
I'm hoping to just use the a:hover once.
The links and not pointing anywhere but the same page. It is using onclick javascripts to do something when they click on it ( basically changing values in the form )
so i need them on the same page..
hmmmmmm.......
hang on a sec....
well that didn't work.....thought if i used javascript:void(0) as the link it would work but no go.

well i think i explained it
want the same hover for every link class will out redundent code.