You need to sign in to do that
Don't have an account?
Deepak Chouhan
background image on VF page
hello,
i am using this code for backgrond image or color but both aren't support in vf page.
this are appear on the sidebar and showheader section.
*{ <!------------| page global setting |---------------->
margin:0px;
padding:0px;
background-color:#0f0;
//background-image:url('{!$Resource.bg1img}');
}
what will be the solution.
i am using this code for backgrond image or color but both aren't support in vf page.
this are appear on the sidebar and showheader section.
*{ <!------------| page global setting |---------------->
margin:0px;
padding:0px;
background-color:#0f0;
//background-image:url('{!$Resource.bg1img}');
}
what will be the solution.
i just tried this in my dev org and it works fine. you should set showHeader="false" and then apply the css styles on the body ..
<apex:page sidebar="false" showHeader="false" >
<style type="text/css">
body { background-color: green; }
</style>
</apex:page>
All Answers
i just tried this in my dev org and it works fine. you should set showHeader="false" and then apply the css styles on the body ..
<apex:page sidebar="false" showHeader="false" >
<style type="text/css">
body { background-color: green; }
</style>
</apex:page>
https://developer.salesforce.com/forums/ForumsMain?id=906F000000098poIAA