General XMetaL Discussion

  • jrob61

    css

    Participants 0
    Replies 1
    Last Activity 7 years, 7 months ago

    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.

    The Dept. of Public Health$2,500,000

    Reply

    Derek Read

    Reply to: css

    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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support