
You can set the size of visual-force page from the page layout but it will be static height and will not change according to the content of the VF page (You can enable scroll bars as well). For setting the height, click on the wrench icon you see on the VF page block in the standard page layout editor and set the height in pixels.
Full Answer
How do I resize a Visualforce page?
To resize a visualforce page with a more complex structure, you can do so with some cross domain scripting. In my answer here, I go into detail about how to accomplish this. Add a custom link section to your sidebar that executes some javascript stored in a static resource.
Is it possible to put a Visualforce page as a section?
We have a page layout for a custom object and want to put a Visualforce page as a section in it. However, the height of the content varies, and when I drop the section in, there is a large white space if the content does not fill. How do I deal with this (the part with the big red 'X' through it)? Show activity on this post. Yes it is possible.
How to resize a VF page in a page layout?
VF Pages embedded in a Page Layout come over as iframe s, so the solution is to write a VF Page using only <apex:detail .../> to bring over the Page Layout and then have JavaScript (via jQuery) resize all the iframe s.

How do I use Visualforce page in community?
On the Profile page, click Enabled Visualforce Page Access. In the Enabled Visualforce Page Access section of the Profile page, click Edit. In the Available Visualforce Pages list, select the Visualforce pages that you want to make available to this profile and then click Add. Click Save.
Can you edit a Visualforce page in production environment?
Yes, you can edit a Visualforce page in production.
How do I edit a Visualforce page in Salesforce?
Click the tab with the name of the page to open the page editor to view and edit the associated Visualforce markup without having to return to the Setup area. Changes display immediately after you save the page. If the page uses a custom controller, the name of the controller class is available as a tab.
What is Visualforce page size in Salesforce?
Yes the page size is 128 KB.
Why are Visualforce pages served from a different domain?
Simple answer - Security. Salesforce wants to keep tight control over what is customizable and what is not. Consider an example of a Visual force page running within your standard page-layout.
Do Visualforce pages support edit actions?
Viewing and Editing Visualforce Pages with Development Mode Enabled. With development mode enabled, you can view and edit the content of a page by navigating to the URL of the page.
How do I add a VF page to a page layout?
Follow the steps to embed visualforce page.Drag a new section into page layout.Now Select Visualforce page.Drag Visualforce from the list to new section.Click on Save Button.
How do I view Visualforce pages in Salesforce?
Managing Salesforce Site Visualforce PagesFrom Setup, enter Sites in the Quick Find box, then select Sites.Click the name of the site you want to modify.Click Edit on the Site Visualforce Pages related list.Use the Add and Remove buttons to enable or disable Visualforce pages for your site.Click Save.
What are Salesforce Visualforce pages?
Visualforce pages are basic building blocks for application developers. A Visualforce page is similar to a standard Web page, but includes powerful features to access, display, and update your organization's data. Pages can be referenced and invoked via a unique URL, just as they would be on a traditional web server.
What is the maximum size of a Visualforce page?
Visualforce LimitsLimitValueMaximum view state size in a Visualforce page170KBMaximum size of a Visualforce email template1 MBMaximum file size for a file uploaded using a Visualforce page10 MBMaximum size of HTML response before rendering, when Visualforce page is rendered as PDFLess than 15 MB16 more rows
How do I display more than 10000 records in Visualforce page?
ParulYou can enable readOnly attribute value true for the page it will increase Number of query rows from 50000 to 1 million rows and Number of records displayed on VF page will be increased from 1000 to 10000.You can go for pagination which has to limit.
What is viewstate in Visualforce page?
View state holds the state/size of the visual force page that includes the components, field values, and controller state. This is important in the light that salesforce provides only a standard size of 135kb for any individual page.