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
tchrisbakertchrisbaker 

Label and checkbox alignment

I am trying to figure out why there is a large space between the field lavel and the checkbox on my VF page.

 

Here is a screenshot

 

https://www.evernote.com/shard/s80/sh/e37cf2d2-0661-497c-920d-bbb310c20511/bb77f2cd09e8c1b193fd56636187a4f4

 

 

 

Here is the code:

	<apex:pageBlockSectionItem helpText="{!$ObjectType.Professional_Development_Event__c.Fields.Recipient_Opt_Out__c.inlineHelpText}"  >						
						<apex:outputLabel value="Opt-Out?" for="recipientOptOut"/>
						<apex:inputField required="" style="width:80%;" id="recipientOptOut" value="{!pdEvent.Recipient_Opt_Out__c}" > 
						   <apex:actionSupport event="onclick" action="{!optOutChanged}" />
						</apex:inputField> 
					</apex:pageBlockSectionItem>

 

tchrisbakertchrisbaker
I accidentally had a style="width:80%;"