Hi Jennifer,

Moving your style declarations to the body will work in more clients 
than keeping it in the head.

However, there are several clients (Gmail for one) which will also strip 
the HTML of anything
in between the <style></style> tags.

I'd recommend declaring all of your styles inline to try and increase 
compatibility. You may want
to have a look at Alex Dunae's premailer, which will take your final 
HTML document and return
the same document with the CSS converted to inline declarations. It's 
located at http://code.dunae.ca/premailer.web/

Regarding authoring in Dreamweaver, I'm guessing that DW expects the 
style declarations to be within the
head of the document, hence it is not applying them in the visual 
editor. So, if you move your declarations back
to the head for design, and then run the HTML through the pre-mailer 
script above, all should be fine!

Regards

Matt

Jennifer Knowles wrote:
> Can I put the <style> tag below the body tag instead of in the head?  I 
> am using CSS in an HTML email (not spam by the way) and have heard you 
> want to do this for web based clients that chop off the head section.  I 
> just wanted to make sure this was ok.  It seems to work ok for 
> Thunderbird on my mac.  The CSS doesn't work though when I am authoring 
> in Dreamweaver.
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>   
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to