Hi,
I create a pdf from cf-generated HTML. Part of it is a table with numbers. Most
of the table cells contain <input type="text"> with text or numbers inside. I
want the fields with numbers in one of the columns to be right-aligned so it is
easy to see how they ad up but I am unable to do so. When I view the page (that
is to be rendered as pdf) in the browser the numbers are perfectly
right-aligned. But when the pdf is generated from that same html/css, the
numbers are either left-aligned or centered.
I use an included style sheet.
The css rule I use to right-align text is "text-align:right". I use that in a
style I apply to the input field in the table cells.
This is my <cfdocument> tag:
<cfdocument
name="invoice"
format="PDF"
pagetype="A4"
fontembed="false">
fontembed="yes" gave me the same problem.
The rest of the pdf looks Ok so the pdf generator has no problem with the HTML.
Just this text - align part.
I use CF 9.0.1 on Mac OS X with apache 2.2
Does anyone have an idea what could be causing this?
Thanks,
Marc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm