-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi; when ever I create a panel, the top border of the panel is blue, can some one shed some light how to change the color of the top border some thing other than defualt.
Thanks,
RJ.
Check the syle guide (http://docs.zkoss.org/wiki/StyleGuide_Panel)
Thanks for the utl, but it has not been very helpful. I would appreciate the link with some code example where we see programatically how to set zclass and sclass. I am also bit puzzle about why the code below works for margin bottom
pubmedPanel.setStyle("margin-bottom:10px");
but when I do something like this pubmedPanel.setStyle("margin-bottom:10px;border-color:red;") it never works and the border colors still remains default.
Regards,
RJ
Hi,
Maybe the sclass attribute helps,
<style> .style1.z-panel .z-panel-tr { background-color : red; background-image : none; } </style>
<panel id="panel" framable="true" width="500px" height="400px" title="Panel" sclass="style1" maximizable="true" minimizable="true" border="normal" collapsible="true" closable="true">
Thanks
Asked: 2009-04-03 15:04:51 +0800
Seen: 436 times
Last updated: Apr 06 '09