VisionSet wrote:
> "Karsten Wutzke" <kwutzke-> wrote in message
> news:bnmc4e$32o$01$...
>
>>Hi all!
>>
>>I am generating HTML with a lot of table content, that is in the <td>
>>tags. With my table cells, I always get empty cells with *no borders*
>>when <c
ut> ing the empty string (in Java: String str = ""
>>
>>Is there any way get <td> cells *with borders* when <c
ut> ing the
>>empty string?
>>
>
>
> I think this is a browser issue,
Could be. I have almost no HTML/browser experience.
> IE right?
Nope. Netscape 7.1.
> <td></td> produces borderless cells in IE
> fix is
> <td> </td>
> not sure when or if this has been fixed.
>
> Try netscape to confirm.
>
Hmmm. This insert a socalled non-breaking space to every cell...
I mostly pass String objects to JSTL. How can I query on a String object
from JSTL, whether it's the empty "" string? Like this, only &nsbp; will
be output if the string is empty ("").
The bad thing is, to use it for every cell, the text will shift to the
right one space, which looks uglier than before.
Any recommendations here?
Karsten