Published — v. 1
/
I added a style to the HTML BODY tag, but it does not work
I added a style to the HTML BODY tag, but it does not work
Using the BODY tag to assign an image background or other background to a page is unfortunately not a good idea when preparing an HTML email message. That's because many email clients will ignore that style definition.
To add a background to a page or a large section of the page, it's much better to revert to the "old days" of using HTML tables as a layout element, and then to assign a background to the table (directly in the <table> tag). To have the background fill up the screen, make sure to remember to set the width of the table to 100%.
, multiple selections available,
Related content
Using background images in emails
Using background images in emails
More like this
CSS and e-mail clients: compatibility issues
CSS and e-mail clients: compatibility issues
More like this
CSS does not work
CSS does not work
More like this
I have pasted in my message some html code, but the layout of the page is different from what I was expecting.
I have pasted in my message some html code, but the layout of the page is different from what I was expecting.
More like this
My HTML message appears different from what I expected in Microsoft Outlook
My HTML message appears different from what I expected in Microsoft Outlook
More like this
About using invisible tables to layout a HTML email message
About using invisible tables to layout a HTML email message
More like this