
08-14-2010, 11:01 AM
|
|
|
|
 eXpert
|
|
Join Date: Sep 2006
Posts: 310
|
|
|
Re: Using CSS in e-mails - how?
Thanks for your help, Tal, I just did a test in Yahoo and found exactly the problem you are talking about - the paragraph size is larger than in my other e-mail address, and Yahoo just seem to set their own sizes for paragraphs, regardless of where I put the styles.
All the rest of the styles in /mail/html/html_message_template.tpl
seem to have worked okay, but I will try signing up for a few other mail address, from the other main providers, to make sure.
I was wondering if maybe I made the paragraph style more specific, if that might override whatever Yahoo is doing to the CSS? My paragraph style was to place the name and telephone number of the company I am producing the site for, over the background header image, and all the rest of the CSS was working fine, it was only the size that Yahoo was changing.
This is the style:
Code:
#wrapper #header p, #wrapper #footer p {float:right;margin:5px 10px 0 0;text-shadow:1px 1px 1px #fff;color:#000;font-weight:bold;font-size:1em;}
I suspect that Yahoo has a paragraph style with higher specificity than my style, for the font-size property.
__________________
X-Cart Gold Version 4.3.2
|
|