FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Having trouble with link states - a, a:hover, a:visited

 


photographerguy
I'm pretty new at this, but I've done it before and I can't figure out why it isn't working. It looks the way I want it, but it won't change for the hover state or the visited.

I guess instead of me pasting it here, you could look at the source code:

css = http://www.digitalglassdesign.com/ali/ali.css

pages http://www.digitalglassdesign.com/ali/contact.html and employment.html

The links in the divs navigation and footer work correctly, but the others don't.

Thank you for any help.
AftershockVibe
I'm confused. Which bits aren't working? For me all the Navigation links (at the top), the two links near the bottom and the link in the footer all work.
photographerguy
There are two links at the bottom of the contact page and two at the bottom of the employment page. They work, but don't change colors like I have specified for the hover state. The link in the footer works correctly on all pages.
Nyizsa
I tried them, and they worked perfectly for the first time. Also, try if you clear the cache and the history, they should work with you ONCE. If this is the case, comment out the contents of a:visited and/or the a:active parts. Like:
Code:
a:visited {
//   color: blue;
//   font-weight: 600;
//   text-decoration: none;
}

I hope it helped.
Code of Ruin
They work perfectly with me. Could it be that your browser is outdated and the code you use can't be displayed by it?
photographerguy
Thanks for the help, but mine do not turn red when I hover over them.
I cleared my cache more than once and looked in IE6.0, Firefox, and Opera and they do not turn red when hovered. They do work, but I was wondering why they don't turn red when I have it in the CSS.
AftershockVibe
I don't know what to say, they turn red for me. Your ISP may be caching the page as well I suppose which could cause this.

Try a force refresh: CTRL+F5 in most browsers.
eXplicit
AOL and a few other "big" ISPs are known to cache pages, maybe it's a problem their end. Try it on a PC at another location, e.g. work/school or a library.

They're working for me.
photographerguy
Yep, it must have been something with the ISP for my work. I'm at home now, and it looks how it is supposed to. Thanks for everyone's help, I just wanted to make sure I wasn't doing something wrong.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.