+ Start a Discussion
Hemalatha  ParuchuriHemalatha Paruchuri 

Background Image in visual force page

Hi,


How to put background image image in visualforce page
Tarun_KhandelwalTarun_Khandelwal
Hi Hemalatha,

Please try following code -
 
<apex:page sidebar="false" showHeader="false">

<style>
    body {
        background-image: url("/img/loading.gif");
    }
</style>  

</apex:page>

Please replace img URL by your image url. Let me know in case of any query.
Hemalatha  ParuchuriHemalatha Paruchuri
Thanks for replying..

I want a make watermark image as background
Tarun_KhandelwalTarun_Khandelwal
For WaterMark image, try below code -
<apex:page sidebar="false" showHeader="false" standardStylesheets="false">

<style>
    body {
        background-image: url("/img/seasonLogos/2016_winter.png");
        background-repeat:no-repeat;
        background-position:center;
    }
    
</style>  
</apex:page>