We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

HTML in email.  Trying to control DIV email

jdana
jdana asked
on
Medium Priority
275 Views
Last Modified: 2012-06-27
I've developed a simple page for a mass emailing and I'm trying to control the width of a DIV element when the page is viewed in Outlook.  Here's the page:

http://jaginc.com/massMailings/BarrEMailer3.html

I've followed the suggestions found here: http://blogs.sitepoint.com/code-html-email-newsletters/
1. I'm using a table for layout.
2. My CSS is all inline.

The parent DIV, unfortunately, is giving me trouble.  When I send the page, it vanishes completely.  Image 1 shows the DIV border on the page.  Image 2 shows the missing border after the email has been sent.  

Suggestions?  Should I wrap the enter <table> element in a parent <table> <td> combo instead of a parent <div>?
Image-1.png
Image-2.png
Comment
Watch Question

Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
The wrapper table did the trick.  Configuring HTML / CSS for email is so weird!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.