Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    getting rid of underline in html emails

    Hello
    Can anyone help figure out how to get rid of underline in code for an html email I'm doing?
    <p><a href="http://www.babyexpert.com/Your-life/World-Cup-baby-gear/editorialgallery?pic=1" style="text-decoration:none"><font face="Georgia, Arial, Helvetica" size="5" color="#ff5aa4" style="text-decoration:none">WORLD CUP FEVER</font></a><br>
    <font face="Arial, Helvetica" size="2">The world cup has kicked off! Check out our choice of cute football themed gear for little supporters </font><a href="http://www.babyexpert.com/Your-life/World-Cup-baby-gear/editorialgallery?pic=1"style=”text-decoration:none”><font face="Arial, Helvetica" size="2" color="#ff5aa4" style="text-decoration:none">Read more...</font></a></p>

    Image attached so can see what i mean...

    Can't figure it out??
    Thanks if anyone can help..
    Attached Thumbnails Attached Thumbnails getting rid of underline in html emails-picture-114.jpg  

  • #2
    New Coder
    Join Date
    May 2010
    Location
    Midwest, USA
    Posts
    11
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: getting rid of underline in html emails

    style=”text-decoration:none”
    in your markup is using "smart" quotes, which aren't parsed by the browser. Change them to:
    style="text-decoration:none"
    and the underline under your link is gone.

    Your markup uses the deprecated font tag with obsolete attributes. Using style declarations with current properties would be better.
    <p style="font-family:Arial, Helvetica, sans-serif;"><a href="http://www.babyexpert.com/Your-life/World-Cup-baby-gear/editorialgallery?pic=1" style="font-size:x-large; color:#ff5aa4; text-decoration:none;">WORLD CUP FEVER</a><br />
    The world cup has kicked off! Check out our choice of cute football themed gear for little supporters <a href="http://www.babyexpert.com/Your-life/World-Cup-baby-gear/editorialgallery?pic=1" style="color:#ff5aa4; text-decoration:none;">Read more...</a></p>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •