[thelist] interesting style and email question

Ross DeMeyere ross at demeyere.com
Thu Feb 10 10:53:01 CST 2005


I had the same problem... I can't explain it, but when I looked at the  
code source in the eMail, I noticed that the periods at the beginning  
of the lines in the style sheet were missing. So instead of style  
defining a class it defined an element (which didn't exist). What I did  
was add a non-existent element tag and a comma in front of the styles.  
For example,

<style type="text/css">
z, .music  
{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight: 
bold;color:#CC0033;text-decoration:underline;}
z, .gentxt  
{font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight: 
bold;color:#FFFFFF;text-decoration:none;}
z, .whitelink  
{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font- 
weight:bold;color:#FFFFFF;text-decoration:underline;}
z, .textblock {padding: 20px 0 20px 10px;}
z, .footer {background-color:#C20B45;padding:5px;}
</style>

It doesn't hurt, as far as I can tell, but then eMail clients begin to  
notice the classes of music gentxt, whitelink, et cetera.

------------------------------------------------------------
Ross DeMeyere
DeMeyere Design Incorporated
http://demeyere.com/
------------------------------------------------------------
rossMania
a photo journal - the other side of DeMeyere Design
http://rossMania.com/
------------------------------------------------------------

On 10 Feb 2005, at 07:33, Dan McCullough wrote:

> I have been sending out bound multipart emails for the better part of
> 3-4 years.  I have never had a problem with style sheets displaying
> properly in the email clients.  But this last one I sent, nothing I
> did would appease the HTML display gods. Anyway.  If anyone would like  
> to help me end this mystery I would
> greatly appreciate it.  BTW this would be an exercise in figuring out
> what was wrong, the email has long been sent.
>
> You can view it here (http://www.mccullough-net.com/nyack.html), it is
> in its problematic state, now to the browsers that I used it looked
> fine in this state but once it sent to email clients and web based
> email sites it didnt look so hot.  I looked and tested other emails
> that were based on the same template and they show up fine, so I'm
> thinking that it was something small that I missed.





More information about the thelist mailing list