Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder Ibanez's Avatar
    Join Date
    Nov 2008
    Location
    South Africa
    Posts
    73
    Thanks
    11
    Thanked 0 Times in 0 Posts

    iepngfix.htc + csshover.htc = Headache

    Hi all!

    Hope this makes sense...?

    Im working on a site that utilizes PNG's. One of these is a link (with the background image determined by css) within a div. I understand that IE6 also does not support a:hover, therefore I need csshover.htc...
    My question is: Do I really need csshover for the rollover to work? And if so, how does one get them both to work, I have tried infinite situations and workarounds but to no avail...

    Here is the link.
    The image Im referring to is the globe(webmail)

    Thanks!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Why are you using csshover.htc in that page? I don't see any :hover property on any element other than anchor, for which IE recognises the normal :hover, just like any other browsers.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder Ibanez's Avatar
    Join Date
    Nov 2008
    Location
    South Africa
    Posts
    73
    Thanks
    11
    Thanked 0 Times in 0 Posts
    Ok I thought when you mouse over something its a:hover, is it not?
    What I wanted is for the globe (webmail.png) to rollover to (webmailactve.png) when you mouse over it...

    Im still learning css so forgive me if get a bit confused...

  • #4
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Quote Originally Posted by Ibanez View Post
    Hi all!

    Hope this makes sense...?

    Im working on a site that utilizes PNG's. One of these is a link (with the background image determined by css) within a div. I understand that IE6 also does not support a:hover, therefore I need csshover.htc...
    My question is: Do I really need csshover for the rollover to work? And if so, how does one get them both to work, I have tried infinite situations and workarounds but to no avail...

    Here is the link.
    The image Im referring to is the globe(webmail)

    Thanks!
    You got it backwards. IE does support hover on anchor links. It doesn't support it on anything else.

    BTW, congrats! You page is the first I've looked at that is error free.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #5
    New Coder Ibanez's Avatar
    Join Date
    Nov 2008
    Location
    South Africa
    Posts
    73
    Thanks
    11
    Thanked 0 Times in 0 Posts
    Ok wait... Sorry for a stupid question, but what is an anchor link?
    And with that said I assume that I dont need the csshover then, but why would the iepngfix then not work? The images still has those grey borders in IE...

    Thanks Jerry, I try to validate all pages and css and then fix the issues as they come up.
    If your willing to teach, Im willing to learn...

  • #6
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    Sorry, I was redundant.

    IE hover works:
    a:hover {color:red;}
    <a href="#">Hovered text</a>

    IE does not work on hover:
    p:hover {color:red;}
    <p>Hovered text except IE</p>

    You will need some special stuff to get the second to work. Usually it is a javascript code to simulate the hover on a non anchor tag.

    IE had a different problem with png images, unrelated to the anchor problem.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #7
    New Coder Ibanez's Avatar
    Join Date
    Nov 2008
    Location
    South Africa
    Posts
    73
    Thanks
    11
    Thanked 0 Times in 0 Posts
    No worries!

    Ah ok I see... So theoretically what I have should work then?
    The reason for my confusion (and incorrect use of csshover?) is because the author of iepngfix states limitations to the script here, and suggests one uses csshover...
    So do you have any idea why its not working in ie?
    Dont know if its worth noting, but when the page loads in ie and you place your cursor on the webmail button, it loads the webmailactive.png, but then its stuck...
    Any suggestions?
    If your willing to teach, Im willing to learn...

  • #8
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    No idea. Never used csshover or iepngfix. Hopefully someone that does will jump in.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •