Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6183023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:17:49+00:00 2026-05-24T01:17:49+00:00

Im trying to send a HTML email and I have this piece of code:

  • 0

Im trying to send a HTML email and I have this piece of code:

<a href="#">UP &nbsp;;<img src="arrow.png" /></a></div>

But theres a blue border JUST around my image. How can I get rid of it. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T01:17:50+00:00Added an answer on May 24, 2026 at 1:17 am

    Unfortunately, the best solution is to use the deprecated border attribute since not all email readers parse/apply CSS… as a separate style section, a separate sheet, or embedded in the HTML. If you have a guaranteed audience (all using the same email viewer) then by all means use CSS if you can.

    <a href="#">UP &nbsp;;<img src="arrow.png" border="0" /></a></div>
    

    For testing here’s a simple HTML document that should show all the proposed solutions:

    <html>
    <head>
        <title>IMG border example</title>
        <style>.rion a img {border:0 none;}</style>
    </head>
    <body>
        <div>1) Default: 
          <a href="#">UP &nbsp;;<img src="arrow.png" /></a></div>
        <div>2) Img border 1: 
          <a href="#">UP &nbsp;;<img src="arrow.png" border="1" /></a></div>
        <div>3) Img border 0: 
          <a href="#">UP &nbsp;;<img src="arrow.png" border="0" /></a></div>
        <div>4) A style border none: 
          <a href="#" style="border:none">UP &nbsp;;<img src="arrow.png" /></a></div>
        <div>5) Img style border none: 
          <a href="#" >UP &nbsp;;<img src="arrow.png" style="border:none" /></a></div>
        <div class="rion">6) Stylesheet a img style border none: 
          <a href="#" >UP &nbsp;;<img src="arrow.png" /></a></div>
    </body>
    </html>
    

    In my browser (Firefox) 1,2,4 show borders (default border on 1,4 is thicker), while 3,5,6 show none… however 5 & 6 rely on the email client being able to parse CSS, 6 in particular can get really dodgy with webmail clients (which mess around with style classes on base elements because they have their own CSS).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written C# code for ascx. I am trying to send an email
I am trying to send an HTML email using Perl. open(MAIL,|/usr/sbin/sendmail -t); ## Mail
i'm new with python.. Actually, i'm trying to send featured email with python: html
I am trying to send a sample email from my rails application. this is
I'm trying to send an email with html formatting, but when it arrives (in
I am trying to send an email from PHP using PHPmailer() . I have
I'm trying to send out a Plain/HTML multipart email out and I'm currently using
I have problem in my heroku app, I am trying to send email using
I'm trying to send an HTML email receipt from the iphone. The receipt should
I have been trying to send out html emails through a PHP mail script

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.