[SalesForce] How to reproduce standard page style in a Visualforce page

Motivation

I'd like to reproduce a standard Lead conversion page style in a custom visualforce page. However, I'm seeing a number of differences.

Some are in visual style, e.g. block section titlebar:

enter image description here

enter image description here

There are also lines between rows which are not present in default style (not visible in the above pictures).

Other changes are in code produced by pages, but that could be due to code differences.

Question

  1. How can I reproduce the visual style of a standard Salesforce page like Lead Convert
  2. Is .page source code available for standard Lead Convert page?

Best Answer

Keep standardStylesheets="true" and look into the mode attribute on apex:pageBlock.

Related Topic