471,605 Members | 1,595 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

CSS HOVER Problem

Hi,

I tried to change text color using HOVER. It works in Mozilla but not in IE. I've mentioned my codes are below.

p.hvr{
font-family:verdana;
font-size:12pt;
color:red;
}
p.hvr:hover{
font-family:verdana;
font-size:12pt;
color:green;
}

<p class="hvr">Hover</p>


How to salve this problem ?


Thanks.
Sep 7 '07 #1
1 1235
drhowarddrfine
7,435 Expert 4TB
:hover does not work in IE except on <a> elements.
Sep 7 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by LRW | last post: by
6 posts views Thread by Nikolaos Giannopoulos | last post: by
15 posts views Thread by Robert Mark Bram | last post: by
51 posts views Thread by madsgormlarsen | last post: by
24 posts views Thread by fehays | last post: by
1 post views Thread by Ciuin | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.