stylesheet"

From Documentation
m
Line 1: Line 1:
{{ZKDevelopersReferencePageHeader}}
+
{{ZKClient-sideReferencePageHeader}}
  
 
'''Syntax:'''
 
'''Syntax:'''
Line 35: Line 35:
 
|}
 
|}
  
{{ZKDevelopersReferencePageFooter}}
+
{{ZKClient-sideReferencePageFooter}}

Revision as of 03:06, 3 December 2010


Syntax:

<stylesheet href="a_uri" type="text/css"/>
<stylesheet>
 css_definitions
</stylesheet>

It specifies a CSS file that shall 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 a JavaScript file shall be loaded from the classpath.

type

[Optional]

The type of CSS. It is usually text/css.

Version History

Last Update : 2010/12/03


Version Date Content
     



Last Update : 2010/12/03

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.