+ Start a Discussion
diydiy 

How to set background repeat image in visualforce page?

How to set background repeat image in visualforce page?

Ashish_SFDCAshish_SFDC

Hi Diya,

 

This is the html code, 

 

<!-- Codes by HTML.am -->
<div style="background-color:white;background-image:url(http://www.html.am/images/backgrounds/background-image-2.gif);border:1px solid black;width:300px;height:300px;font-size:18px;">

HTML background repeat example

</div>

 

http://www.html.am/html-codes/background-code/background-repeat.cfm

 

<apex:repeat value="{!showSome}" var="s" >
       <apex:pageBlock>
       <apex:pageBlockSection >
           <apex:pageBlockSectionItem >
               <apex:outputLabel for="field" value="{!s.name}" />
               <apex:inputField value="{!s.id}" id="field"/>
           </apex:pageBlockSectionItem >
           </apex:pageBlockSection >
       </apex:pageBlock>
       </apex:repeat>

http://boards.developerforce.com/t5/Visualforce-Development/repeat-tags-and-css-fun/td-p/181313

 

Regards,

Ashish