An application I maintain uses
OpenOffice to convert HTML documents into PDF for the users's convenience. This has worked great for a while, but now has a snag: OOo doesn't deal well with nested tables. It truncates the PDF output to a single page and some of our documents run into the 10's of pages. So I tried to replace the existing nested table layout with CSS and even the simplest task is problematic. For example, we have some questions which are dependent on previous answers. We indicate dependency with indenting, an image in the margin, and the wording of the question:
This layout is
trivial to do with tables:
But using CSS is painful. I want to do something like this:
But DIV's, being blocks, stack one on top of the other, so the indent image ends up on top of the dependent question. I also don't want to specify the height of the indent image as the height is dependent on the associated question and answer fields. Is there a way to get CSS positioning to behave like TABLE's?
[ May 05, 2006: Message edited by: Joe Ess ]
[ May 05, 2006: Message edited by: Joe Ess ]