>>I think you can use 2 column layout html template Using Dreamweaver

Well, I suppose that it is simply some table in which one can fill in some text 
by hand.
I know haow to designe a two column page in HTML, the problem is to have it 
automatically generated from a database.
What I was thinking of was more some kind of automatic process, like "start on 
next column, or next page, whenever the current column is full".
I know this is coming with HTML 5, but not yet supported but current browsers.

I finally designed my own custom tag which works pretty well.
1. generate all text in one column, same width that the final desired columns
     during this process, content of each bloc of data is saved in a session 
structure;
2. at the end, some javascript forms a list of heights of all blocs in the one 
column table, then post it by ajax to a template that will recover all blocs in 
the session structure and use the height of each bloc to create multi column 
pages. It can even use space between blocs to balance columns so that they all 
have the same height. The template then returns the whole page to the browser 
to replace the one column layout.

The problem was then to get the result in pdf format. This was acheived by a 
last ajax call to return the whole HTML to the server which will genrate the 
pdf in a file.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:350134
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to