That worked ... at least in yahoo mail, gmail doesn't like it for some reason.
Is there a way to declare/set the $h in the .vm. I tried your #set but I had
to remove the #set and instead do a put("h", "#") for the model.
Mark
----- Original Message ----
From: Gonzalo Diethelm <[EMAIL PROTECTED]>
To: Velocity Users List <[email protected]>
Sent: Thursday, October 11, 2007 3:28:57 PM
Subject: Re: css in mail
Given that escaping in Velocity is the shortest path to madness, you
should rather use the old trick:
#set $h = '#'
...
{font-size: 100%; color: ${h}b73d3d; }
Best regards.
On Thu, 2007-10-11 at 12:22 -0700, Mark Stephens wrote:
> I tried putting it directly in the <head> tag and it showed up as
plain text in my inbox.
>
> So how do I escape lines like:
>
> #fc_coop .message { font-size:110%; color:#b73d3d; }
>
> in velocity?
>
--
Gonzalo Diethelm
[EMAIL PROTECTED]