CSS web resources
Use cascading style sheet (CSS) web resources to create style sheets for use in webpage web resources.
Capabilities of CSS web resources
With CSS web resources, you can manage the appearance of webpage 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 security context. Only licensed users who have the necessary privileges can access them.
Referencing a style sheet web resource from a webpage web resource
All web resources can use relative URLs to reference each other. In the following example, for the webpage web resource sample_/content/contentpage.htm
to reference the style sheet web resource sample_/styles/styles.css
, add the following example to the head element of sample_/content/contentpage.htm:
<link rel="stylesheet" type="text/css" href="../styles/styles.css" />
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 aren't tracked as solution dependencies.
See also
Web resources
Using Web Page (HTML) web resources
Using JavaScript web resources
Using Data (XML) web resources
Using Image (JPG, PNG, GIF) web resources
Using Silverlight (XAP) web resources
Using Stylesheet (XSL) web resources
WebResource table
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기