• Dipu T.Paul
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 3
    Replies
Hi all,
 
In  my Vf page i have one css clss like
 

<div class="Title">Test </div>

css :

.Title {

margin:8px 0 0 8px;

font-size:1em;

font-weight:bold;

background:url(../images/TitleBG.gif) no-repeat;

height:31px;

width:783px;

padding:6px 0 0 10px;

}

I have uploaded all the images in the static resources.But i am not getting the back ground image.

I got a code snippet like this from google which is shown below.
 
 
How can i use this.
 
Please give ur suggestions.
How to set a session attribute in Apex class.
Hi all,
 
I have created  one visualforce page.In that page,I have one image.Now i want to give an onClick functionality
for that image.How can i do that? The code which i wrote for the image insertion shown below:
 
<apex:image url="{!URLFOR($Resource.images, 'images/edit.gif')}" width="10"
height="13" />
      
 
 Example: 
 
In  html , we can give
 
<img src="images/edit.gif" alt="View Emissions" onClick="showInfo('emm1');" /> 
 
Like this i need to do in visualforce.
 
Please add your valuable suggestions.
 
       
                
 
 
Hi all,
 
In  my Vf page i have one css clss like
 

<div class="Title">Test </div>

css :

.Title {

margin:8px 0 0 8px;

font-size:1em;

font-weight:bold;

background:url(../images/TitleBG.gif) no-repeat;

height:31px;

width:783px;

padding:6px 0 0 10px;

}

I have uploaded all the images in the static resources.But i am not getting the back ground image.

I got a code snippet like this from google which is shown below.
 
 
How can i use this.
 
Please give ur suggestions.
How to set a session attribute in Apex class.
Hi all,
 
I have created  one visualforce page.In that page,I have one image.Now i want to give an onClick functionality
for that image.How can i do that? The code which i wrote for the image insertion shown below:
 
<apex:image url="{!URLFOR($Resource.images, 'images/edit.gif')}" width="10"
height="13" />
      
 
 Example: 
 
In  html , we can give
 
<img src="images/edit.gif" alt="View Emissions" onClick="showInfo('emm1');" /> 
 
Like this i need to do in visualforce.
 
Please add your valuable suggestions.