This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 15960
    
  19

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
 
Similar Threads
simple alignment problem with select one radio
How to create default value for radio button
h:selectOneRadio automatically creates Table
Radio
How to make one of the Radio button default selected