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
mxalix258mxalix258 

Auto fit contents into iframe

I'm trying to embed a visualforce page into the home page of the customer portal. When I add a new home page component, and do an iFrame it always shows a vertical scrollbar. When i change it to height="100%" and scrollbars="false" it still shows the scrollbars, and the height doesn't change.

 

Anyone else experience this problem?

Best Answer chosen by Admin (Salesforce Developers) 
sekharasekhara

Hi,

 

Istead of using 100 % use 100 px .

 

 

Let me know in case of ant issues.