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
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