[xep-support] text in a box

From: Bob Stayton (bobs@sagehill.net)
Date: Mon Apr 12 2004 - 10:31:06 PDT

  • Next message: G. Ken Holman: "Re: [xep-support] text in a box"

    I'm trying to do something I thought would be easy, but I can't seem to find
    a way that works. I'm trying to present a set of fixed lines of text inside
    a box. The linefeeds are preserved, and the box should just fit around the

    |First line |
    |Another line that is longer|
    |Third line |

    [this won't display properly in a proportional font. You should see the
    right side of the box just containing the longest line of text]

    When I add a border to the container block, the box extends all the way
    across the page. I only want it to extend just past the longest line of
    text. I can't set a width on the container block because I don't know what
    the width will be since it is determined by the text.

    I tried a table, but ran into similar problems of the table always extending
    the width of the page unless I specify explicit column widths, which I

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    This archive was generated by hypermail 2.1.5 : Mon Apr 12 2004 - 10:40:16 PDT