Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,253
Total Threads: 80,789
Total Posts: 566,442
There are 68 users currently browsing (tf).
  Our Partners:
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Using HTML in e-mails... Help!

Thread title: Using HTML in e-mails... Help!
    Thread tools Search this thread Display Modes  
07-17-2011, 03:15 AM
dlopez916 is offline dlopez916
dlopez916's Avatar
Status: Member
Join date: Oct 2009
Location: Russellville, AR
Expertise: CSS, HTML, Flash, Photoshop
Software: Photoshop, Dreamweaver, Frefox
Posts: 108
iTrader: 0 / 0%

dlopez916 is on a distinguished road

  Old  Using HTML in e-mails... Help!

I am having an issue placing a black background in an e-mail newsletter I am sending out. Using Joomla, I cant get the body tag to stick when adding the code. Therefore my e-mails have a black background on top of a white background which I assume is the body. I have the black background behind the text and content using a div, but line spaces, and breaks show up white... Any help on how to work around not being able to use the <body> tag?


09-28-2011, 09:13 PM
david_deseine is offline david_deseine
Status: I'm new around here
Join date: Sep 2011
Location: paris
Expertise: design
Posts: 1
iTrader: 0 / 0%

david_deseine is on a distinguished road


Html in emails is tricky because a lot of email clients (web based or not) read it differently. Using a table for the layout (yeah, the old way) is the best way to obtain the same result whatever the email clients is.

10-07-2011, 03:01 PM
aryicul is offline aryicul
Status: I'm new around here
Join date: Oct 2011
Expertise: HTML,PHP,Graphic Designs
Software: Photoshop, Dreamweaver
Posts: 8
iTrader: 0 / 0%

aryicul is on a distinguished road


I agree with david_deseine!

Reply With Quote
11-27-2011, 07:58 AM
GregBenner is offline GregBenner
Status: I'm new around here
Join date: Nov 2011
Posts: 2
iTrader: 0 / 0%

GregBenner is on a distinguished road

  Old  HTML Email

Use a table for layout but also set a one outer most table as a container, this will act like your body tag. You must also style each and every element inline.
it's a pain in the butt but most email clients won't accept any kind of css, in the head or external.

So most container tables would be set <table height="100%" width="100%" style="height:100%; width:100%; background-color: white;" >

*Sidenote don't use shorthand CSS properties, ex use #FFFFFF not #FFF.

01-01-2012, 04:50 AM
vnstheme is offline vnstheme
Status: I'm new around here
Join date: Jan 2012
Posts: 5
iTrader: 0 / 0%

vnstheme is on a distinguished road


Background image is limited in Email. But, if you want to use email in body.
The best way is you create table and set background-image to table or cell.
I will dependent your email system you sent as: google, yahoo. ect ...

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed