I have done this last week.
I had a page with a css full of styles and stuff and worked fine.
Maybe it worked on word because I was using the id of the elements
instead of classes ( #content { ... } instead of .content { ... }
Or maybe because the styles were on the same page.
The styles are on the same page , or via <link ...> or @include ?
I used :
<CFHEADER NAME="Content-Disposition" VALUE="INLINE; FILENAME=file.doc">
<CFCONTENT TYPE="application/msword">
<cfoutput>
<html>
<head>
<style type="text/css">
classes and etc.
</style>
</head>
<body>
.....
</body>
</html>
</cfoutput>
John wrote:
> I'm outputting a word file and all of my style rules are ignored such as
> font-family, font-size etc...Any idea how get Word to use my style rules?
>
> Thanks!
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2
Build sales & marketing dashboard RIAâs for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274148
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4