Bad Anchor Tag Problems With Safari < 2

Discussion in 'Web Design and Development' started by bobber205, Feb 6, 2006.

  1. macrumors 68020

    bobber205

    Joined:
    Nov 15, 2005
    Location:
    Oregon
    #1
    http://www.alexwait.com/NortonvilleandWinchester/main.html

    Whenever that site is loaded on Safari < 2 version, Opportunities, whose element is surrouned by a <a> tag, wants to put a stupid space around it.

    Even thought I've tried putting lots of trouble shooting code... you'll see the source and then you'll know what I'm talking about.

    It really stinks that it's doing this. Does anybody know of any workaround?

    P.S. I am really sorry for posting this again. I know I asked the question in an older thread, but it was not getting any more hits. :D
     
  2. macrumors regular

    Joined:
    Apr 17, 2003
    #2
    Put all the code on the one line as so:

    Code:
    <a href="index.html"><img src="Images/Layout/opportunities.png" border="0"></a>
    The line break in the code causes the space I think.
     
  3. thread starter macrumors 68020

    bobber205

    Joined:
    Nov 15, 2005
    Location:
    Oregon
    #3
    I think you figured it out.
    I have the "education" button with a tag, but it's all on one line just like you suggested. Thanks SO MUCH!
     

Share This Page