Hi, Andrew. I'm not a CSS crack, but perhaps use google with "white-space:nowrap" to get further.
Hiran ----------------------------------------- Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimer Straße 11 80867 München Phone +49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -----Original Message----- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 14. Oktober 2004 09:57 > To: Struts Users Mailing List > Subject: Re: i18n and > > <snip> > a user with bad eyes may choose to use bigger fonts </snip> > > I have perfect eyesight but Ive been making a lot of use of > firefox's font resizing abilities lately since my work PC got > upgraded to one that can handle 1600 * 1200 resolution... > (great for working in eclipse, bad for reading long pages in > browsers...(especially at 60hz) ) > > Im wondering is there any kind of css style a designer can > apply to a tag to force it not to wrap? (I know there is for > table cells but Im not sure for the general case...) > > [EMAIL PROTECTED] wrote: > > > Hi, Joe. > > > > I'd rather not add any non breaking spaces to the messages. > You don't know how long a message might become (typically > each language needs another amount of words to express the > same, and english is pretty short compared to others). The > problem you actually have is a layout problem, and it should > be dealt with in the UI. > > > > So you better leave that problem to your HTML designer, who > may choose > > to > > - make a layout that allows long messages > > - hack all the JSPs > > - delegate the problem to the browser that tries to word > wrap everything so it fits on the user's screen. > > > > I prefer the last one, since a user with bad eyes may > choose to use bigger fonts and accepts to read more lines of > text. Personally I use such features when I present some web > application on a beamer.... > > > > Hiran > > > > ----------------------------------------- > > Hiran Chaudhuri > > SAG Systemhaus GmbH > > Elsenheimer Straße 11 > > 80867 München > > Phone +49-89-54 74 21 34 > > Fax +49-89-54 74 21 99 > > > > > > > > > > > >>-----Original Message----- > >>From: Joe Hertz [mailto:[EMAIL PROTECTED] > >>Sent: Mittwoch, 13. Oktober 2004 23:12 > >>To: 'Struts Users Mailing List' > >>Subject: i18n and > >> > >>I have a number of property values that will be > internationalized and > >>need non-breaking spaces between each word in them. > >> > >>I could put into each space, but that > >> > >>1) is going to confuse my native language translators who > know nothing > >>of HTML. 2 words in english could be 3 in language-x). > >> > >>2) would be wrong. > >> > >>There doesn't appear to be any built in method of handling > this with > >>bean:message or anything else, so I'm about to write a custom > >>configuration class for a separate Message Resource Bundle > that will > >>contain the properties where I want spaces displayed as " "'s > >> > >>I have a hard time believing no one else has run into > this...so I ask > >>the > >>following: > >> > >>Do I need to do this? Is there a way of doing it without writing a > >>custom handler? or a better way of doing it? And if not, > who wants to > >>see the code when it's done? :-) > >> > >>-Joe > >> > >> > >> > >>------------------------------------------------------------ > --------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]