-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
I'm trying to use an alternate css for the buttons, but I'm not succeeding. Follow the tips of the documentation and nothing.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<zk>
<window>
<style content=".mycss{font-size:15pt}" />
<button mold="trendy" sclass="mycss" label="My Button" />
</window>
</zk>
I looked at the html generated by firebug and everything seems to be ok (<span id="w0FQ2" class="mycss z-button">), but the CSS is not applied. I did more tests with other components and everything works right. The problem is only with the button with mold = trendy.
Btw
ZK 5.0.10 EE (build: 2012010312)
Firefox 9.0.1
sorry for my terrible english
Thanks
.mycss{} is not strong enough for fonr-size of trendy .
try .mycss .z-button-cm {font-size:15pt}
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <zk> <window> <style content=".mycss .z-button-cm{font-size:15pt}" /> <button mold="trendy" sclass="mycss" label="My Button" /> </window> </zk>
Asked: 2012-03-05 20:46:15 +0800
Seen: 160 times
Last updated: Mar 08 '12