0

how to change checkbox font

asked 2006-03-19 23:26:43 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3638565

By: tskale

<window id="win" title="Font test" xmlns:h="http://www.w3.org/1999/xhtml">
<h:style>
.smallBold {
font-size: 14px;
font-weight: bold;
}
</h:style>

<checkbox id="cbox" label="Green" sclass="smallBold" />

Changing font-size in the h:style does not change the font of the label of checkbox.

Thanks for help!!!

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2006-03-20 02:04:52 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3638708

By: tomyeh

A checkbox is a combination of span and input tags. The sclass attribute is applied to the outer tag, span. To control the font, use the style attribute.

<checkbox style="font-size: 14px"/>

Note: it is supported only in the latest ZK Nightly.

link publish delete flag offensive edit

answered 2006-03-20 04:28:52 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3638836

By: tskale

Thank you very much!
It works with the nightly download.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-03-19 23:26:43 +0800

Seen: 741 times

Last updated: Mar 20 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More