Port80 Forums Ilisys Web Hosting Fast Hit Web Hosting

Our Platinum Sponsors:


Go Back   Port80 Forums > Development & Code > CSS & Web Standards

Reply
 
Thread Tools Display Modes
  #1  
Old 22-07-2011, 09:44 AM
MeltingDog MeltingDog is offline
Junior Member
 
Join Date: Jun 2011
Location: Brisbane
Posts: 7
MeltingDog is on a distinguished road
Default CSS goes strange in HTML email - appends ecx to html ids

Hi all,

I am trying to make an HTML email. For whatever reason some letters are being appended to some of my code. The letters ecx are being appended to my id tags in the HTML. So:

Instead of what I wrote eg: <tr id="headerrow">

I see in FireBug: <tr id="ecxheaderrow">


I have the CSS in my header and am using tables. The CSS looks like this:

#title {
text-align:center;
padding-top: 15px;
}

#headerrow {
text-align:center;
}

Which I think is fine

Any one know whats going on here? Am I better using inline CSS or even and external?
Reply With Quote
  #2  
Old 22-07-2011, 09:49 AM
MeltingDog MeltingDog is offline
Junior Member
 
Join Date: Jun 2011
Location: Brisbane
Posts: 7
MeltingDog is on a distinguished road
Default

Tried to be cheeky and change the CSS in the header to have ecx but no luck
Reply With Quote
  #3  
Old 22-07-2011, 01:23 PM
heist heist is offline
Senior Member
AWIA Member
 
Join Date: Sep 2006
Posts: 573
heist is on a distinguished road
Default

my knowledge of html email coding isn't great, but first thing i'd try would be in-line style
Reply With Quote
  #4  
Old 22-07-2011, 02:53 PM
MeltingDog MeltingDog is offline
Junior Member
 
Join Date: Jun 2011
Location: Brisbane
Posts: 7
MeltingDog is on a distinguished road
Default

Yeah inline css did it. Also I found out you cannot have background images which is a great shame.
Reply With Quote
  #5  
Old 23-07-2011, 05:00 PM
Web-Designer-Perth Web-Designer-Perth is offline
Member
 
Join Date: Jun 2008
Location: Perth, Western Australia
Posts: 69
Web-Designer-Perth is on a distinguished road
Default

Yes you can have background images. There are a few tricks. Check over at Campaign Monitor.
Reply With Quote
  #6  
Old 27-07-2011, 10:18 AM
zeroedin's Avatar
zeroedin zeroedin is offline
Senior Member
AWIA Member
 
Join Date: Feb 2010
Location: Perth, Australia
Age: 28
Posts: 124
zeroedin is on a distinguished road
Default

Quote:
Originally Posted by Web-Designer-Perth View Post
Yes you can have background images. There are a few tricks. Check over at Campaign Monitor.
except they won't appear in Outlook 2007/2010, Gmail, or Hotmail when using CSS. Back to using tables...hello 1992, long time no see...

http://www.campaignmonitor.com/css/
Reply With Quote
  #7  
Old 27-07-2011, 01:43 PM
Yaheed's Avatar
Yaheed Yaheed is offline
Senior Member
AWIA Member
 
Join Date: Jun 2006
Location: Perth, Western Australia
Age: 25
Posts: 106
Yaheed is on a distinguished road
Default

Quote:
Originally Posted by zeroedin View Post
except they won't appear in Outlook 2007/2010, Gmail, or Hotmail when using CSS. Back to using tables...hello 1992, long time no see...

http://www.campaignmonitor.com/css/
This is true, but with the following technique it is apparently do-able! At least to a table cell anyway.

http://www.campaignmonitor.com/blog/...l-table-cells/
__________________
Coffee. 'Nuff said.
Website: jarrydcrawford.com.au (not yet!)
Blog: blog.jarrydcrawford.com.au
CV: cv.jarrydcrawford.com.au
Reply With Quote
  #8  
Old 27-07-2011, 08:41 PM
zeroedin's Avatar
zeroedin zeroedin is offline
Senior Member
AWIA Member
 
Join Date: Feb 2010
Location: Perth, Australia
Age: 28
Posts: 124
zeroedin is on a distinguished road
Default

Quote:
Originally Posted by Yaheed View Post
This is true, but with the following technique it is apparently do-able! At least to a table cell anyway.

http://www.campaignmonitor.com/blog/...l-table-cells/
You, my friend deserve a cookie! Filing that one under 'useful to know'.
Reply With Quote
  #9  
Old 28-07-2011, 09:54 AM
Yaheed's Avatar
Yaheed Yaheed is offline
Senior Member
AWIA Member
 
Join Date: Jun 2006
Location: Perth, Western Australia
Age: 25
Posts: 106
Yaheed is on a distinguished road
Default

Haha, glad to be of service :P.

I haven't tested it before but I guess you go by the comments on the post to how successful the technique is.
__________________
Coffee. 'Nuff said.
Website: jarrydcrawford.com.au (not yet!)
Blog: blog.jarrydcrawford.com.au
CV: cv.jarrydcrawford.com.au
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +8. The time now is 09:49 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.