📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

HTML problem.

I'm very new to HTML and have just learnt how to open an image in a separate webpage using this code:

<a href="http://www................."target=_blank"&gt; <img src="................jpg"> </a>

However, each image has a little line at the bottom right hand corner, and I can't figure out why. I can't seem to get rid of it, no matter what I do.

Any help will be gratefully received.
It's nice to be important.....but it's more important to be nice :)

Comments

  • Nanao_2
    Nanao_2 Posts: 55 Forumite
    Tenth Anniversary Combo Breaker
    July1962 wrote: »
    I'm very new to HTML and have just learnt how to open an image in a separate webpage using this code:

    <a href="http://www................."target=_blank"&gt; <img src="................jpg"> </a>

    However, each image has a little line at the bottom right hand corner, and I can't figure out why. I can't seem to get rid of it, no matter what I do.

    Any help will be gratefully received.

    I think you're missing double quote marks in your html code - it should be:

    <a href="http://www.................&quot; target="_blank"> <img src="................jpg"> </a>

    but I don't know if that will fix the problem with the line?
  • July1962
    July1962 Posts: 910 Forumite
    Part of the Furniture 100 Posts Combo Breaker Photogenic
    Thanks Nanao - tried the extra quote marks but it made no difference :(
    The line looks like a tiny underscore coming from the bottom right corner of each image.
    It's nice to be important.....but it's more important to be nice :)
  • style="border: none; text-decoration: none;"
    

    Try that! Add it just after target="_blank"
  • July1962
    July1962 Posts: 910 Forumite
    Part of the Furniture 100 Posts Combo Breaker Photogenic
    jimmy10 - you are a star :)
    Thank you!!!!
    It's nice to be important.....but it's more important to be nice :)
  • July1962 wrote: »
    jimmy10 - you are a star :)
    Thank you!!!!

    Your Welcome, just let me know if you need any-more help!
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351.7K Banking & Borrowing
  • 253.4K Reduce Debt & Boost Income
  • 454K Spending & Discounts
  • 244.6K Work, Benefits & Business
  • 600K Mortgages, Homes & Bills
  • 177.3K Life & Family
  • 258.3K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.