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
freshstart forcefreshstart force 

Provide CSS

Please provide a CSS file with the default Force.com styles. That would help me build custom Apex pages without having to write too much CSS.

 

Thanks in Advance

freshstart force

 


Pradeep_NavatarPradeep_Navatar

You can specify the tab style that should be used to style a component by associating a page with a standard controller or by setting the tabStyle attribute on the <apex:page> or <apex:pageBlock> tags:

 

1. When you use a standard controller with a Visualforce page, your new page takes on the style of the associated object's standard tab in Salesforce.com. It also allows you to access the methods and records associated with the associated object.

2.  When you use a custom controller, the tabStyle attribute of an <apex:page> tag allows you to mimic the look and feel of the associated Salesforce.com page. If you only want portions of the page to be similar to a Salesforce.com page, you can use the tabStyle attribute on the <apex:pageBlock> tag

 

For more detail:

http://wiki.developerforce.com/index.php/Using_the_Salesforce_CSS_in_Your_Apps

 

Hope this helps.