Forum Moderators: phranque

Message Too Old, No Replies

No Background Color on E-mail Ad

         

JimOz

8:04 pm on Jan 18, 2008 (gmt 0)

10+ Year Member



I am currently designing monthly ads announcing our equipment specials to our customers {not spam}, however Iam having trouble with the bgcolor. In the design process the color is what I coded but once I send the test e-mail to myself or the other test victims the bgcolor is white. What could be causing this? All the other objects {links,text,banners,images} on the page are working fine.

rocknbil

4:17 pm on Jan 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard JimOz, how are you assigning the color? Are you using a full doctype with an HTML header?

It can grow into a complicated discussion, but the simplest thing is to create a full html document, make sure you are sending content-type text/html (instead of text/plain) and use one of the following:

<body style="background:#e8e8e8">
<body style="background-color:#e8e8e8">
<body bgcolor="#e8e8e8"> (deprecated but supported)

JimOz

8:03 pm on Jan 23, 2008 (gmt 0)

10+ Year Member



Thanks, this helps out.