something odd with my a href in IE

Discussion in 'HTML & Website Design' started by rvnd, Apr 18, 2009.

  1. #1
    Hi (welcome me!)

    I am having a wee issue with IE6 (natch).

    A bit difficult to describe but I'll here goes.

    My code is
    <a href="login">
            <img src="image.png" alt="" border="1" align="right">
        </a>
    Code (markup):
    It looks like this (showing a background image and the blue line are the extents of the transparent gif). I put the border in for illustration purposes.:
    [​IMG]

    ...and it's working great in FF3, Safari, but not so good in ie6. The IE6 problem is that the hyperlink area does not match the image area. The hyperlinking area is a bit on the right and bottom of the blue outline. I'll show that in the next pic shaded in red.

    [​IMG]

    Is my explanation of the issue making any sense yet? Hope you can help shed some light on this quirk.

    Thanks
     
    rvnd, Apr 18, 2009 IP
  2. nayes84

    nayes84 Member

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    don't understand your problem so well but anyway why you don't specify image size to force browser to use the right size?

    like
    
    <a href="login">
            <img src="image.png" alt="" border="1" align="right" height="100" width="100">
        </a>
    
    HTML:
    don't forget to change height and width to fit your image
     
    nayes84, Apr 19, 2009 IP
  3. rvnd

    rvnd Active Member

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #3
    Hi

    I did try this. But no joy.
     
    rvnd, Apr 19, 2009 IP
  4. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Send me the file I will look into it. If you want.
     
    alfa_375, Apr 19, 2009 IP