stylesheet"
From Documentation
(Created page with '{{ZKDevelopersReferencePageHeader}} '''Syntax:''' <stylesheet href="''a_uri''" type="text/css"/> <stylesheet> ''css_definitions'' </stylesheet> It specifies a CSS file tha…') |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{ZKClient-sideReferencePageHeader}} |
'''Syntax:''' | '''Syntax:''' | ||
Line 7: | Line 7: | ||
</stylesheet> | </stylesheet> | ||
− | It specifies a CSS file that | + | It specifies a CSS file that should be loaded to the client, or the CSS content. Notice that, if specified, the CSS file is always loaded. |
Example, | Example, | ||
Line 18: | Line 18: | ||
[Optional] | [Optional] | ||
− | It specifies the URI of the CSS file to load. The URI could contain < | + | It specifies the URI of the CSS file to load. The URI could contain <code>~./</code> (such as "~./foo/whatever.js") to indicate that a JavaScript file should be loaded from the classpath. |
=type= | =type= | ||
[Optional] | [Optional] | ||
− | The type of CSS. It is usually < | + | The type of CSS. It is usually <code>text/css</code>. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | + | |
+ | {{ZKClient-sideReferencePageFooter}} |
Latest revision as of 08:00, 29 January 2024
Syntax:
<stylesheet href="a_uri" type="text/css"/> <stylesheet> css_definitions </stylesheet>
It specifies a CSS file that should be loaded to the client, or the CSS content. Notice that, if specified, the CSS file is always loaded.
Example,
<stylesheet href="~./zul/css/zk.wcs" type="text/css"/>
href
[Optional]
It specifies the URI of the CSS file to load. The URI could contain ~./
(such as "~./foo/whatever.js") to indicate that a JavaScript file should be loaded from the classpath.
type
[Optional]
The type of CSS. It is usually text/css
.