• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spaces in JSP

 
Isaac Ferguson
Ranch Hand
Posts: 922
2
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

what way could I introduce spaces in a jsp. I need separate



And also give format to them(colour, size...)

Thanks, Isaac
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use & nbsp; some time space image. not sure this is what you are looking for.

<edit>space between & nbsp is not required. I given here to show the string here ;) </edit>
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP just produces HTML, so the answer is the same as how would one do styling in HTML, and that is: CSS.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angus: Bear is correct one should use CSS. I still have code that uses &nbsp; though.

Seetharaman: You write & as &amp; so it shows up in the forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic