• Post Reply Bookmark Topic Watch Topic
  • New Topic

spaces in JSP  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1051
3
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
Posts: 65757
130
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: 36170
439
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!