Pages: 1
Print
Author Topic: css  (Read 1776 times)
jrob61
Member

Posts: 39


« on: February 04, 2015, 03:38:25 PM »

XMetaL Author Essential 9.0

looking for insight how to use css to make one child tag appear left-aligned and the other child tag right-aligned and both to appear on the same line.  Can't use tables either due to a known issue with slowness with large documents.  Use of css table, table-row, table-cell also slows down typing in large documents.

<LineItem><Description>The Dept. of Public Health</Description><Amount>$2,500,000</AMount></LineItem>
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: February 05, 2015, 04:38:36 PM »

The only way to do this (without using tables) is to set "display:block" for each child, but that will cause each one to display on a separate line, so basically the answer is that it can't be done with the current CSS support. I think support for CSS "float" would likely be necessary but that is unlikely to be implemented, at least not in the near future.

The only solution I can think of is to display the parent element as an embedded XFT form inside of which you can pretty much do anything with layout, though you then lose the "free flowing" aspect of that portion of the document, and you pick up all the baggage (and other restrictions) that go together with using XFT.
Logged
Pages: 1
Print
Jump to:  

email us