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
krish99krish99 

visualforce page division

HI,

      May i know How can i divide the visualforce page into 2 vertical, 2 horizontal columns..??
hitesh90hitesh90
Hi Krish,

You can use HTML tags there. Like

<table>
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
</table>

Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
Email :- hiteshpatel.aspl@gmail.com
My Blog:- http://mrjavascript.blogspot.in/
Damien Phillippi033905702927186443Damien Phillippi033905702927186443
This is sort of a vague request.  There could be a multitude of reasons to divide a page up, and you might want to do it different ways for different reasons.  What is the purpose of splitting up your page into 4 divisions?
krish99krish99
@d.phillippil

  actually we are working with sites so we need to populate that page into 4 divisions so can you help me the code.

Damien Phillippi033905702927186443Damien Phillippi033905702927186443
Ok, so its sort of a styling type of question.  Unfortionately, dividing it in that way isn't my area of expertise.  You might want to use hitresh90's suggestion but add some styling to the table he created using % width/heights is my best guess.
BenBurbridge(JP)BenBurbridge(JP)
Hi,

You can use iframe ...
<apex:page standardController="Custom_Object">
    <apex:form >
        
        <apex:iframe id="iFrame1" width="60%" src="URL" />
        
        <apex:iframe id="iFrame2" width="40%" src="URL"/>
        
    </apex:form>
</apex:page>