---
schema_version: "1"
id: a498dfd47afa38e5648615b40256bc38e4d29210f71645199e7124ef1c3a57f0
title: Using Styles from Salesforce Stylesheets
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/styling/pages-styling-using-salesforce-stylesheets.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-styling-using-salesforce-stylesheets.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5c276639ea014c78bf21ed003eac57b62bd4b8b012996b9777566f5bf8182084
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# Using Styles from Salesforce Stylesheets

Salesforce uses different stylesheets (.css files) throughout the application to ensure that every tab conforms to the Salesforce look and feel. These stylesheets are automatically included on a Visualforce page unless you specify `false` for the `showHeader` attribute of the `<apex:page>` tag.

**note:** Salesforce stylesheets aren’t versioned, and the appearance and class names of components change without notice. Salesforce strongly recommends that you use Visualforce components that mimic the look-and-feel of Salesforce styles instead of directly referencing—and depending upon—Salesforce stylesheets.

When you disable the inclusion of the Salesforce stylesheets, only your custom stylesheets affect the styling of the page. For the purposes of building up styles that partially or fully match the Salesforce look and feel, you might want to look at and use selected contents from the default stylesheets.

The following stylesheets contain style classes you can reference. They are located in the /dCSS/ directory of your Salesforce instance.

-   dStandard.css – Contains the majority of style definitions for standard objects and tabs.
-   allCustom.css – Contains style definitions for custom tabs.

**important:** Salesforce doesn’t provide notice of changes to or documentation of the built-in styles. Use at your own risk.

**See Also**  


-   [Extending Salesforce Styles with Stylesheets](https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-styling-adding-stylesheets.md)
-   [Using Custom Styles](https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-styling-custom.md)

