Web Design Forum: HTML email – bgcolor in HTML? - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HTML email – bgcolor in HTML?

#1 User is online   cooper82 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 262
  • Joined: 23-October 09
  • Reputation: 0

Posted 05 January 2010 - 03:39 PM

Hey,

more HTML email problems. Testing my email:Threesixty newsletter, I found that some email clients ignore the background colour...So I found this article: Rock solid HTML emails. As it suggests, I've wrapped my email in a 100% width table and added my background colour to this table – not working! Have I made a mistake in my code, I've checked it over, or any ideas how to fix this?


cheers :)
0

#2 User is offline   pippin62 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 216
  • Joined: 21-July 08
  • Reputation: 3
  • Experience:Intermediate
  • Area of Expertise:Designer

Posted 05 January 2010 - 03:46 PM

I'm not 100% certain, but I think Outlook 2007 ignores the background colour in nested tables.
0

#3 User is online   cooper82 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 262
  • Joined: 23-October 09
  • Reputation: 0

Posted 05 January 2010 - 03:50 PM

Outlook 2007 seems to ignore alot of stuff!!

The bgcolor isn't appearing when I preview the mail in my browser though, so I have to have made a mistake somewhere...
0

#4 User is online   Skateside 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 09-November 08
  • Reputation: 44
  • Location:Bedford
  • Experience:Advanced
  • Area of Expertise:Coder

Posted 05 January 2010 - 04:19 PM

Firebug shows that cell doesn't contain anything so check your code carefuly. As a quick fix, try setting the bgcolor attribute on the table instead of the cell.
0

#5 User is online   cooper82 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 262
  • Joined: 23-October 09
  • Reputation: 0

Posted 05 January 2010 - 04:29 PM

Yay, thats worked! cheers skateside
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users