function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brad Nordling 9Brad Nordling 9 

In a selectRadio, how do I keep the text on the same line as the radio button when the length of the text causes the text to wrap?

With the selectRadio component, if the text is too long it wraps and when it wraps, the entire text begins on the next line.  How can I make it so the text begins on the same line as the radio button and then wraps when it hits the margin?  I want the text to always start right next to the radio button, not below it.
Brad Nordling 9Brad Nordling 9
Does anybody know how to do this?  When there is no wrap on the radio button text, it starts next to the radio button.  When the text wraps, it starts UNDER the radio button.  Boo!
Brad Nordling 9Brad Nordling 9
Here's a VF segment:

<apex:pageBlockSection title="Velocity" rendered="{!likelihoodPotentialFlag}" collapsible="true" columns="1" >

<apex:selectRadio value="{!velocityValue}" layout="pageDirection">
<apex:selectOptions value="{!velocityList}"/>
</apex:selectRadio>

</apex:pageBlockSection>
</apex:outputPanel>
</div>
</apex:pageBlock>