Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - css a:visited:hover
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

css a:visited:hover

 Post Reply Post Reply
Author
MrCarl View Drop Down
Newbie
Newbie


Joined: 29 March 2003
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrCarl Quote  Post ReplyReply Direct Link To This Post Topic: css a:visited:hover
    Posted: 26 April 2003 at 4:31am

How come this css entry doesnt actually work? I set my css for links to look like this:

a  {
 color : #FFFF00;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 text-decoration: underline;
 font-size: 13px;
 font-weight: bold;
}

a:hover {
 color : #FF0000;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 text-decoration : underline;
 font-size: 13px;
 font-weight: bold;
}

a:visited {
 color : #FF0000;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 text-decoration : underline;
 font-size: 13px;
 font-weight: bold;
}

a:visited:hover {
 color : #FFFF00;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 text-decoration : underline;
 font-size: 13px;
 font-weight: bold;
}

Which is norm link = yellow with red hover
&
visited link = red with yellow hover

But what actually happens is the hover for both normal and visited links just turn yellow and it ignores the a:hover css

Any idea's why?

- Carl S

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2003 at 4:39am

Looks like you got visted and visted hover around the wrong way.

Check up on some CSS sites if you are unsure how it works.

Back to Top
MrCarl View Drop Down
Newbie
Newbie


Joined: 29 March 2003
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrCarl Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2003 at 5:12am

I have trawled the web, and changed them into every different possible order!! tried loads of ways... and still nothing (though in netscape it works fine...

I actually now dont believe it is possible to have two different hover colours for visited and unvisited links in IE... Most sites just use the same colour, like for example here on this forum...

If anyone can prove me wrong then please do!! This is a dead simple thing which is causing me to tear my hair out!!

- Carl S

 

Back to Top
Dergal View Drop Down
Groupie
Groupie


Joined: 21 January 2002
Location: United Kingdom
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dergal Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2003 at 11:09am

 

IE caches the CSS files (linked) so do a hard refresh! (CTRL and f5) took me ages to learn that...

HTH's

Gerry

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.