K
Kalyan
Guest
Hi there..
I gotta write jsp coding where in I use html for the frontend. When I retrieve data and display it in a html table, in the <td></td>, if the data contains spaces, it is breaking up to be shown in rows.
Eg:
<td>Microsoft Windows XP Proffessional</td>
would show up as
Microsoft
Windows
XP
Proffessional
I know that inserting an would solve my issue but the data would be coming dynamically from the database and I cant insert the for the spaces. Is there any way to change the property of <td> to display a group of words with spaces in a single row and expand the width accordingly? any trick like using <label>, <div>, some <input> with transparent boundaries.. etc are also welcome.. Please solve this for me.
I gotta write jsp coding where in I use html for the frontend. When I retrieve data and display it in a html table, in the <td></td>, if the data contains spaces, it is breaking up to be shown in rows.
Eg:
<td>Microsoft Windows XP Proffessional</td>
would show up as
Microsoft
Windows
XP
Proffessional
I know that inserting an would solve my issue but the data would be coming dynamically from the database and I cant insert the for the spaces. Is there any way to change the property of <td> to display a group of words with spaces in a single row and expand the width accordingly? any trick like using <label>, <div>, some <input> with transparent boundaries.. etc are also welcome.. Please solve this for me.