Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 21st, 2005, 12:53 AM
Frederik
Guest
 
Posts: n/a
Default a:hover in Firefox VS MSIE

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;
}
  #2  
Old July 21st, 2005, 12:53 AM
Els
Guest
 
Posts: n/a
Default Re: a:hover in Firefox VS MSIE

Frederik wrote:
[color=blue]
> 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;
> }[/color]

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.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
  #3  
Old July 21st, 2005, 12:53 AM
Knud Gert Ellentoft
Guest
 
Posts: n/a
Default Re: a:hover in Firefox VS MSIE

Frederik skrev:
[color=blue]
>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..?[/color]

It's wrong order, it must be

link
visited
hover
active
--
Knud
Topposter du svar, så ryger du på min ignoreringsliste.
http://usenet.dk/netikette/citatteknik.html
  #4  
Old July 21st, 2005, 12:54 AM
Frederik
Guest
 
Posts: n/a
Default Re: a:hover in Firefox VS MSIE

Knud Gert Ellentoft <ellentoft@mail.tele.invalid> wrote in message news:<ashgl0p3tthpeb0km3buiqettflq5qdd6i@dtext.new s.tele.dk>...[color=blue]
> Frederik skrev:
>[color=green]
> >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..?[/color]
>
> It's wrong order, it must be
>
> link
> visited
> hover
> active[/color]

Thanks Els, thanks Knud..! It's working perfectly now.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles