sure this is a trim down version:
<html>
<head>
<title></title>
<link rel="stylesheet" href="print_styles.css" type="text/css">
</head>
<body>
<cfform name="Print" action="">
<cfsavecontent variable = "variables.test">
<table cellspacing="0" cellpadding="0" border="1" width="500">
<tr class="tdRight" height="25">
<cfoutput>
<td colspan="5" class="tdRight">Label Right </td>
<td>100.00 </td>
</cfoutput>
</tr>
</table>
</cfsavecontent>
<cfdocument format="pdf">
<cfoutput>#variables.test#</cfoutput>
</cfdocument>
</cfform>
</body>
</html>
and the print_style.css file
<style><!--
.tdRight { font-family: Verdana,Arial,MS Sans Serif; color: black;
font-size: 11px; font-weight:bold; text-align: right; background:#DCDCDC}
--></style>
Thanks
Victor
On 5/15/06, Qasim Rasheed <[EMAIL PROTECTED]> wrote:
>
> Victor,
>
> Can we see a code sample that how you are trying to generate document,
>
> Thanks
>
> On 5/15/06, Victor Moore <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm creating a pdf doc using cfdocument. The document creation works
> fine
> > with the exception of formatting. The information regarding the
> alignment
> > of
> > text is pretty much ignored.
> >
> > It is mentioned in the livedocs that cfdocument is using the style sheet
> > that is specified for media="print" . Tried that and no luck.
> >
> > Anybody knows if style sheets can be applied to output
> > created using cfdocument tag, maybe even show an example of the css file
> > that allows text to be right, center aligned.
> >
> > Thx
> > Victor
> >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240610
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54