Style Sheet (CSS) Web Resources
Use Style Sheet (CSS) Web resources to create style sheets for use within Web page Web resources.
Capabilities of CSS Web Resources
With CSS Web resources, you can manage the appearance of Web page Web resources by linking them to a shared library of CSS styles.
Limitations of CSS Web Resources
Like all Web resources, CSS Web resources are only available in the Microsoft Dynamics CRM security context. Only licensed Microsoft Dynamics CRM users who have the necessary privileges can access them.
Referencing a Style Sheet Web Resource from a Web Page Web Resource
All Web resources can use relative URLs to reference each other. In the following example, for the Web page Web resource sample_/content/contentpage.htm to reference the Style Sheet Web Resource sample_/styles/styles.css, add the following example contains HTML to be added to the head element of sample_/content/contentpage.htm:
To reference a style sheet from a different publisher, the path must include that solution publisher customization prefix. For example, for the sample_/content/contentpage.htm page to reference the MyIsv_/styles/styles.css page, the href parameter value should be ../../MyIsv_/styles/styles.css.
Note |
|---|
| References included in code between Web resources are not tracked as solution dependencies. |
See Also
Send comments about this topic to Microsoft.
© 2012 Microsoft Corporation. All rights reserved.
Note