Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfdocument w/columns

New Here ,
Mar 06, 2009 Mar 06, 2009
I have a requirement to generate pdfs that have two columns. I have done so using both div tags (good html) and tables (bad html) and both of the options have the same problem. Both times i have simply generated a page, i'm not currently forcing pagebreaks, it seemed to me like it oughtn't be necessary. Yet.

Sometimes when you reach the bottom of the page and the cfdocument has to break the page, it chooses to do so in the middle of a line in one column or another. (the lines are not currently alingned in the two columns as i've no clue how i'd do that.

Is there a trick or a setting or an element that forces cfdocument to look very closely at where it's breaking or do i need to find some way to align the text in the columns or force pagebreaks?

Thanks for any help.

If you need to see a sample, just email me and ill send you one.
1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 14, 2009 Oct 14, 2009

Did you ever resolve this issue?  I am also strggling with this one.

Many thanks....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 14, 2009 Oct 14, 2009
LATEST

Hi miki,

The code below should give you an example of how to align data within a

column. The code below creates an area 600px wide with two columns

set at 50% each and column content aligned to the left side.

<div style="clear: both; padding: 15px 0px 0px 0px; width: 600px">
    <!--- Left Column  --->
    <div style="clear: both; float: left; width: 50%" align="left">
        Left content here
    </div>
    <!--- Right Column --->
    <div style="float: left; width: 50%" align="left">
        Right content here
    </div>
</div>

As for the page break / content splitting, take a look at the post below.

Perhaps that will address the situation you are having with the splitting

up of data.

http://forums.adobe.com/thread/506421?tstart=0

Leonard B

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources