Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set space between item cells in spring mvc form controller

 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

am printing values from a list in jsp,, but am not able to set the space between item values.

here the elements are printing without space..
 
Prasad Krishnegowda
Ranch Hand
Posts: 665
4
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can try giving a manual space with ampersandnbsp; between elements..
Anyway it is a pure HTML question, nothing to do with spring..
 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for replying.. I tried using ampersands., but it does not seem to be perfect spacing between courseNames and creditPoints..
! is it not possible with cell spacing and cell padding between items ?
 
Prasad Krishnegowda
Ranch Hand
Posts: 665
4
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cell spacing and cell padding also should work. is it not working?
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
indu iyengar wrote:thanks for replying.. I tried using ampersands., but it does not seem to be perfect spacing between courseNames and creditPoints..
! is it not possible with cell spacing and cell padding between items ?


Have you tried adding cell spacing or padding to see what happens? Or some CSS?

This is nothing at all to do with Sptring and all to do with HTML+CSS

Sean
 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried by giving "cell spacing and cell padding " in table - no use .. I have not used CSS .
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
indu iyengar wrote:I tried by giving "cell spacing and cell padding " in table - no use .. I have not used CSS .


In what way are you getting no spaces, from what I can see, you should get one row which has a few checkboxes in it and the next row will have all the credit point put together in one string?? Is that what you want? You are not using a seperate cell for each?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic