aspose file tools*
The moose likes JSF and the fly likes Adding space between Radio button and Label Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Adding space between Radio button and Label" Watch "Adding space between Radio button and Label" New topic
Author

Adding space between Radio button and Label

Santosh Raveendran
Ranch Hand

Joined: Jun 29, 2008
Posts: 83
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



SCJP 1.4,SCWCD5, SCBCD5
Thanks, Santhosh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16303
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding space between Radio button and Label