I want to emulate the header image and text on the standard Task edit page in my VF page. Is there any built-in components to do this, or do I just have to use raw HTML and a static image resource?

enter image description here


Why yes there is. The one you are looking for is called 'SectionHeader'. Here's the doc for it.

Sample Code:

<apex:page standardController="Opportunity" tabStyle="Opportunity" sidebar="false"> <apex:sectionHeader title="One of Your Opportunities" subtitle="Exciting !"/> </apex:page>


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.