Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

no-break space equivalent tag in JSP

 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to insert a lot whitespaces in my pages. Is there a equivalent of

in taglibs of JSP.

Please help.

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP has nothing to do with the issue. JSP is a templatng technology to create HTML to send to the browser.

You would create whitespace just like with any other HTML page.
 
Jason Cox
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use an HTML entity for a non breaking space. Unfortunately, everytime I try to use the entity the forum parses it.

Try this link -
http://www.w3schools.com/tags/ref_entities.asp

There is a non-breaking space entity on the list.
[ September 27, 2006: Message edited by: Jason Cox ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or, of course, you could use CSS margins and padding.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic