Whitespace in HTML is generally not meaningful.  Perhaps you should use CSS
to style the <options> to use a fixed-width font?

On 5/4/07, Sabine K. <[EMAIL PROTECTED]> wrote:


Hi,

there is one selectbox: <t:select t:model="_restrictionEnzymes"
style="width: 300px; font-family:monospace" size="7"
t:value="selectedEnzyme"/>

_restrictionEnzymes is an arraylist with strings like:

[Acc65I]               | GGTACC
[EcoRI]                | GAATTC
[Hpy188III]          | TCNNGA

Everythink is right but the whitespaces become lost. i tested to write
"&nbsp;" or "&#160;"  which not works. Any idea how to get whitespaces in
a
string in a selectbox?

Best regards
--
View this message in context:
http://www.nabble.com/T5%3A-whitespaces-in-select-component.-tf3691505.html#a10320801
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to