David Mossakowski wrote:
>
> Greetings,
>
> The following piece of code puts no spaces between elements:
>
> <%= r.getElement(1) %>   <%= r.getElement(2) %>
>
> is that the way it should be?  I'm forced to put &nbsp; to have a space
> between these two strings.
>
> Any one had this problem?


Depends - does it output

foobar

or

foo  bar

'cos the browser is likely to take the second one as the first one,
something about converting 2 or more breaking spaces (or CR's/TAB's etc)
to nothing - ie, it ignores white space in certain circumstances.

look at the source to see if it is actually a JRun problem - I do
this a lot, and I havn't had a problem with no spaces in the _source_,
but the browser does sometimes concatenate the two words.

Nic.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to