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
MattMet86MattMet86 

Add image to headerValue on VF page

Can anyone tell me the correct syntax for adding an IMG to the headerValue property? 

I currently have this code which displays the image on the inputField line.
<apex:column headerValue="Election Status">
                    <img src="/resource/acorn" title="   {!$ObjectType.Employee_Session_Benefit__c.Fields.Election_Status__c.inlineHelpText}" height="13" width="13" />
                        <apex:inputField value="{!rev.Election_Status__c}" rendered="{!paperRender}" />
                        <apex:outputText value="{!rev.Election_Status__c}" rendered="{!!paperRender}" />
                    </apex:column>

I want to move the <IMG... line up to the headerValue.

Here is a screenshot of how it currently looks. I want to move the image, and help text, to the area where the green arrow is pointing. 

User-added image

Any suggestions? 

 
MattMet86MattMet86
FYI, you can't see my mouse pointer in that screenshot but it is hovering over the image and thus displaying the help text for that field.