ZK中字体设置

 

将如下代码放入,/WEB-INF/zk.xml文件内,详细配置见我的另外一篇文章zk.xml详细配置
<!-- Configure the default font size in ZUL CSS file (norm*.css)
Default: 12px.
<library-property>
<name>org.zkoss.zul.theme.fontSizeM</name>
<value>12px</value>
</library-property>
-->
<!-- Configure the font size for menus in ZUL CSS file (norm*.css)
Default: 11px.-->
<library-property>
<name>org.zkoss.zul.theme.fontSizeMS</name>
<value>12px</value>
</library-property>

<!-- Configure the font size for smaller fonts, such as toolbar,
in ZUL CSS file (norm*.css)
Default: 11px.
-->
<library-property>
<name>org.zkoss.zul.theme.fontSizeS</name>
<value>12px</value>
</library-property>

<!-- Configure the font size for extremely small fonts,
in ZUL CSS file (norm*.css)
Default: 10px.
<library-property>
<name>org.zkoss.zul.theme.fontSizeXS</name>
<value>12px</value>
</library-property>
-->
<!-- Configure the font family for titles in ZUL CSS file (norm*.css)
Default: Verdana, Tahoma, Arial, Helvetica, sans-serif.
<library-property>
<name>org.zkoss.zul.theme.fontFamilyT</name>
<value>Verdana, Tahoma, Arial, Helvetica, sans-serif</value>
</library-property>
-->
<!-- Configure the font family for content in ZUL CSS file (norm*.css)
Default: Verdana, Tahoma, Arial, serif.
<library-property>
<name>org.zkoss.zul.theme.fontFamilyC</name>
<value>Verdana, Tahoma, Arial, Helvetica, sans-serif</value>
</library-property>
-->

你可能感兴趣的:(Web,xml,css,zk)