You need to sign in to do that
Don't have an account?

how to change the font size for selectoptions in selectCheckbox?
Hi,
I have code below, and found the font size for the checkbox are bigger than selectRadio, so I was trying to add "style="font-size:100%" to the selectcheckbox, but it seems not working. anybody knows how make make the font size same?
---------------------------------------------------------------------------
<apex:selectRadio value="{!mentorType}" layout="pageDirection" label="Mentor Type">
<apex:selectOptions value="{!mentorTypes}"/>
</apex:selectRadio>
<apex:selectRadio value="{!duration}" layout="pageDirection" label="Requested Duration for Mentoring Relationship">
<apex:selectOptions value="{!durations}"/>
</apex:selectRadio>
<apex:selectCheckboxes value="{!selectedInterests}" label="Interest Areas" layout="pageDirection" style="font-size:100%"> <apex:selectOptions value="{!interests}" />
</apex:selectCheckboxes>
I have code below, and found the font size for the checkbox are bigger than selectRadio, so I was trying to add "style="font-size:100%" to the selectcheckbox, but it seems not working. anybody knows how make make the font size same?
---------------------------------------------------------------------------
<apex:selectRadio value="{!mentorType}" layout="pageDirection" label="Mentor Type">
<apex:selectOptions value="{!mentorTypes}"/>
</apex:selectRadio>
<apex:selectRadio value="{!duration}" layout="pageDirection" label="Requested Duration for Mentoring Relationship">
<apex:selectOptions value="{!durations}"/>
</apex:selectRadio>
<apex:selectCheckboxes value="{!selectedInterests}" label="Interest Areas" layout="pageDirection" style="font-size:100%"> <apex:selectOptions value="{!interests}" />
</apex:selectCheckboxes>

Or how to let selectCheckboxes using selectRadio's style?