Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding space between Radio button and Label

 
Santosh Raveendran
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Team

can any one advice on adding a space between a radio button and its label.

do we have any attributes in f:selectItem for doing this

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18218
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually just put a space in the label string. Kind of crude, but usually sufficient. And you can't use multiple spaces, since in HTML they'll all compact down to a single space.

Then again, if you wanted precision spacing, using space characters isn't the way to go anyway. That's what CSS is for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic