Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Link problem in IE6

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #24726
    Chocopunk
    Member

    Hi, I’m having a hard time with ie6 lately on a particular problem, here’s the bit of html I’m on :

    Code:

    Everything is fine with firefox etc, but the link won’t work by clicking directly on the image on IE6 (but will do work anywhere else on the <a>).

    Someone has an idea ?

    Thanks !

    edit : This does not work on IE7 either

    #56912
    AshtonSanders
    Participant

    Is that your exact code?

    You don’t have anything in the href="" which will stop it from being clickable.

    #56930
    Chocopunk
    Member

    Sorry I should have mentioned this is just a demo, I have a real link on my html page.

    Here is a link of a demo page:
    http://www.daniel-rico.com/demos/ie/

    #56941
    AshtonSanders
    Participant

    That’s wack man. As I’m sure you noticed, in IE6, the <a> is still clickable; but the span and img are not. if you remove the span, is the image clickable?

    #57060
    marikas
    Member

    Start by adding a doctype to your page. IE6 is stupid and will go wonky and behave funny without proper instructions. http://www.alistapart.com/articles/doctype/

    Next, I agree with Ashton… remove the span.

    If you can’t do that, try adding display:inline to the image.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.