Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / September 2004



Tip: Looking for answers? Try searching our database.

a:hover in Firefox VS MSIE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frederik - 27 Sep 2004 17:46 GMT
Hi,

I got a problem with MSIE, using the below CSS... MSIE won't obey my
sheet, whereas Firefox does it exactly right. Anyone knows an
solution/explanation..?

.border1 {
    border: thin solid #990000;
}
a:link {
    color: #000000;
    text-decoration: none;
}
a:hover {
    color: #FFFFFF;
    background-color: #990000;
}
a:active {
    color: #FFFFFF;
    text-decoration: none;
}
a:visited {
    color: #000000;
    text-decoration: none;
}
.tekstbrood {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    text-decoration: none;
}
Els - 27 Sep 2004 18:01 GMT
> Hi,
>
[quoted text clipped - 26 lines]
>      text-decoration: none;
> }

What if you get the order right, like this:

a:link
a:visited
a:hover
a:active

In the order you used, hover wouldn't work on visited links.

Signature

Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
                            - Renato Russo -

Knud Gert Ellentoft - 27 Sep 2004 18:02 GMT
Frederik skrev:

>I got a problem with MSIE, using the below CSS... MSIE won't obey my
>sheet, whereas Firefox does it exactly right. Anyone knows an
>solution/explanation..?

It's wrong order, it must be

link
visited
hover
active
Signature

Knud
Topposter du svar, så ryger du på min ignoreringsliste.
http://usenet.dk/netikette/citatteknik.html

Frederik - 30 Sep 2004 07:00 GMT
> Frederik skrev:
>
[quoted text clipped - 8 lines]
> hover
> active

Thanks Els, thanks Knud..! It's working perfectly now.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.