+ Start a Discussion
Yogesh BiyaniYogesh Biyani 

Visualforce:- Show field labels in one row

Hello All, I have hacked up a VF page to display the 3 contacts associated with a custom object. Here is the VF code 
<apex:page standardController="License_With_Order__c" >
<apex:pageBlock  >
<apex:pageBlockSection columns="3"  >
<apex:repeat value="{!$ObjectType.License_With_Order__c.FieldSets.Contacts}" var="field">
<apex:outputField style="width:350px;float:left" value="{!License_With_Order__c[field]}"/>

And here is the preview

 User-added image 

As you can see the labels of the third column are in multiple rows.
  1. How do I make them show up in the same row?
  2. Secondly, How do I make the Order C Country and Order B Country under appropriate contacts? 
Thanks in advance for your help.