Click to See Complete Forum and Search --> : Styling an E-mail?


Superfly1611
12-03-2003, 05:45 AM
Hello there,

I was wondering... when i generate an HTML email with CDONTS, can i link it to a Stylesheet? or do i have to do it manually for every element within the page?

lillu
12-03-2003, 08:47 AM
Easy, just format the body of the email with some HTML.
Well, I guess you can even embed css within style tags.

Here's a nice example:

http://www.devasp.com/Samples/Mail3.asp

rdoekes
12-05-2003, 08:55 AM
A lot of webmail providers chop off everything in the header section of the email message.
Therefore, your best route is use inline stylesheets <td style="font-family: arial;} etc"> or style definitions in the body section of your email.
a link to an external style sheet will not work, since link tags need to be placed in the header section.

-Rogier Doekes