Odd dashes

Discussion in 'HTML' started by Paul, Jun 26, 2006.

  1. Paul

    Paul Guest

    I seem to have odd dashes on my home page. 3 of them under the buttons
    to the left. They are not part of the images. confused. Any help
    please.

    Paul.

    www.des-otoole.co.uk
    Paul, Jun 26, 2006
    #1
    1. Advertising

  2. Paul

    Brian Cryer Guest

    "Paul" <> wrote in message
    news:...
    >I seem to have odd dashes on my home page. 3 of them under the buttons
    > to the left. They are not part of the images. confused. Any help
    > please.
    >
    > Paul.
    >
    > www.des-otoole.co.uk


    Its because there is a space between the "<a href" bit and your image and
    that space is being underlined by the browser because its part of your link.

    Change:
    <a ... href="Underconstruction.php">
    <IMG src="images/Family.gif" border="1"></a>
    to
    <a ... href="Underconstruction.php"><IMG src="images/Family.gif"
    border="1"></a>

    for "..." read all the other stuff (mouseover and mouseout) that you
    currently have.

    Hope this helps.
    --
    Brian Cryer
    www.cryer.co.uk/brian
    Brian Cryer, Jun 26, 2006
    #2
    1. Advertising

  3. Paul

    Dylan Parry Guest

    Paul wrote:

    > I seem to have odd dashes on my home page. 3 of them under the buttons
    > to the left. They are not part of the images. confused. Any help
    > please.


    They are part of the link. It's because you have code like:

    <a href="...">
    <img ...>
    </a>

    And the underlines will disappear if you rewrite the code thusly:

    <a href="..."><img ...></a>

    --
    Dylan Parry
    http://webpageworkshop.co.uk -- FREE Web tutorials and references
    Dylan Parry, Jun 26, 2006
    #3
  4. Paul

    Paul Guest

    Thanks for all your Help.

    Paul.
    Paul, Jun 26, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Bedford
    Replies:
    0
    Views:
    427
    Chris Bedford
    Aug 17, 2003
  2. enrique
    Replies:
    2
    Views:
    555
  3. Chris Bedford
    Replies:
    0
    Views:
    540
    Chris Bedford
    Aug 17, 2003
  4. Paul
    Replies:
    2
    Views:
    382
  5. enrique
    Replies:
    14
    Views:
    229
    Dr John Stockton
    May 23, 2005
Loading...

Share This Page