Control your Visualforce layouts through code. To create the layout of your page first create a VF Page or component and add the following to your controller public View getView() { ... // Build and ...