Results 1 to 5 of 5

Thread: Impossible to hover with IE

  1. #1
    Join Date
    Aug 2009
    Posts
    59

    Impossible to hover with IE

    To change the color of my <tr> in <table> after flying over, I use the following style:
    Code:
    .trcolor2 {
    background-color:#E8E8EA;
    font-size:12px;
    }
    tr.trcolor2:hover {
    background-color:#D7D7FF;
    font-size:12px;
    }
    This code works fine on Firefox! But IE8 can not see the files. Why can't I am unable to change this on Internet Explorer 8?

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Impossible to hover with IE

    I do not know if it is always the case with IE8 but with IE6, the :hover was accepted on the <a> tag itself.

  3. #3
    Join Date
    Aug 2009
    Posts
    59

    Re: Impossible to hover with IE

    Someone told me the same thing! I do not know how to work around, so can you see the highlighted line. With PhpMyAdmin for example, they have managed to do so. But I even worked their style file without finding out how they did. Can anyone help me?

  4. #4
    Join Date
    Nov 2008
    Posts
    1,185

    Re: Impossible to hover with IE

    It works for me in IE8. A style :hover on a <tr> or <td> gives me the expected result. Anyway, with IE, there is always a combination of attributes that can bring that without really knowing why. Check also if there is no CSS rule that takes precedence over the :hover (there a debug tool integrated with IE8, never tested).

  5. #5
    Join Date
    Nov 2008
    Posts
    996

    Re: Impossible to hover with IE

    If you do not put doctype on your page, your browser goes into compatibility mode IE6 (not even IE7 but IE6) and thus :hover never work.

    There are 3 rendering modes in IE8

    - The rendering mode of IE8, if your site is well constructed and meets the standards (in fact especially if your site has a correct doctype)
    - The rendering mode of IE7, if you click the rendering button or if you declare a meta tag
    - The mode rendering IE6, if you do not have a doctype on your page, and IMHO is the case for you.

Similar Threads

  1. Display URL when you hover on a hypelink in Word 2010
    By Leela in forum Windows Software
    Replies: 1
    Last Post: 11-07-2012, 10:56 AM
  2. is there any possible way to create a Hover Button on Joomla
    By Padmasola in forum Software Development
    Replies: 10
    Last Post: 17-01-2012, 08:40 AM
  3. How to create Hover Hyperlink using CSS in HTML
    By Sanju Baba in forum Software Development
    Replies: 3
    Last Post: 05-01-2012, 11:44 AM
  4. Mouse Hover Activate
    By Dick in forum Vista Help
    Replies: 22
    Last Post: 12-01-2009, 03:48 PM
  5. Desktop Icon Hover Highlight
    By Saucer Man in forum Vista Help
    Replies: 7
    Last Post: 03-06-2008, 05:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,388,269.35458 seconds with 17 queries