Borders

The border property specifies whether to display a border for window. The default style sheets support only normal and none. The default value is none.

Of course, you can provide additional style class. For example,

<zk>
    <style>    
    div.wc-embedded-dash {    
    padding: 2px; border: 3px dashed #aab;    
    }    
    </style>    
    <window title="My Window" border="dash" width="200px">    
    Hello, World!    
    </window>    
</zk>

where wc-embedded-dash defines the style of the inner box of the window. The style class is named by concatenating wc[36], the sclass property and the border property together and separating them with dash (-). In this example, sclass is embedded since it is an embedded window and no explicit sclass is assigned (so the default sclass is used).



[36] wc for window content, while wt for window title.