+ Start a Discussion
AxxxVAxxxV 

Custom style for standard related list component

Is it possible to use custom style for a standard related list component?

My sample page code:

Code:
<apex:page standardController="Lead" sidebar="false" showHeader="false" >
    <apex:relatedList subject="{!Lead}" list="CampaignMembers" pagesize="10"/>
</apex:page>

 
The resulting page looks like this:



I need to remove the default salesforce styling and apply my own stylesheet.
Ron HessRon Hess
standardStylesheets="false"

A Boolean value that specifies whether the standard Salesforce stylesheets are added to the generated page header if the showHeader attribute is set to false. If set to true, the standard stylesheets are added to the generated page header. If not specified, this value defaults to false.
AxxxVAxxxV
Of course :)

And this is the VF documentation page on this topic:

http://www.salesforce.com/us/developer/docs/pages/index_CSH.htm#pages_compref_page.htm


Not sure how I missed it.

Thank you.