[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Dynamic column widths on table cells


Subject: [xsl] Dynamic column widths on table cells
From: KAATMAN Matthew <matthew.kaatman@xxxxxxxxxxxxxx>
Date: Mon, 21 Oct 2013 21:03:09 +0200

Is it possible to have columns adjust their width based on the length of the
content?

I've got a situation where the right header is quite a bit longer than the
left. I'd like it to use up the available space instead of wrapping when
possible. (This example is set to 50/50 column width.)
http://i.imgur.com/bgCMJYB.png

If there's no way to automatically do it, can I manually do it based on
content length?

If column one was 20 chars and column 2 was 40, set them to
proportional-column-width(1) and proportional-column-width(2) for example.

Thanks everyone!
Matt
AVIS : Ce courrier et ses pieces jointes sont destines a leur seul
destinataire et peuvent contenir des informations confidentielles appartenant
a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute
lecture, divulgation, ou reproduction de ce message et des pieces jointes est
strictement interdite. Si vous avez recu ce message par erreur merci d'en
prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes.
NOTICE: This message and attachments are intended only for the use of their
addressee and may contain confidential information belonging to bioMerieux. If
you are not the intended recipient, you are hereby notified that any reading,
dissemination, distribution, or copying of this message, or any attachment, is
strictly prohibited. If you have received this message in error, please notify
the original sender immediately and delete this message, along with any
attachments.


Current Thread