How do you embed a style sheet in CFMAIL?
I've tried the following:
<cfmail to="#GetUserEmailInfo.Email#"
from="#request.email#"
subject="#emailSubject#"
server="#request.mailServer#"
type="HTML">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" type="text/css"
href="#request.rootURL#assets/styles.css">
</head>
<body>
#theMessage#
</body>
</html>
</cfmail>
When I view the source code of an email, it looks okay, but the styles do
not render properly.
Thanks, Stan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199449
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54