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
    Regular Coder
    Join Date
    Apr 2010
    Posts
    417
    Thanks
    4
    Thanked 1 Time in 1 Post

    unable to add image to email body using CSS

    Code:
    .headerSpace{ height: 100px; background: #999999 url('http://www.site.com/logo.jpg') no-repeat left; text-align: center; }
    in my email body i have

    Code:
    <div class="headerSpace"></div>
    but the image does not show.

    am I using the correct method to insert an image in the email?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    am I using the correct method to insert an image in the email?
    Have a look at http://blogs.sitepoint.com/code-html-email-newsletters/
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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