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
aebenaeben 

VF page color is not consistent with the standard page its embedded in

Here is my requirment:
 
We want to add a button (something like a detail page link) in a Standard Page. One click of the button we want to execute something in java script.
 
Here is what I did:
 
Create a VF page with the button and the required java script. Added the VF page in the section (create a new section in the layout).
 
Functionality wise it is working the way we want it. But, I seem to have run into a cosmetic issue. The background color of the iframe where the vf page is loaded, is not consistent (it is actually white) with the standard color (grey).
 
Is there a way to fix it?
Ron HessRon Hess
you can set a background if you like, try this :
Code:
<style>
body { background:  #F3F3EC; }
</style>