-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi.
I would like to add horizontal lines to my listbox. It is possible ? If so, how ?
TIA
Yamil
You may do it by assigning your own css.
Please search <style> in http://www.zkoss.org/doc/devguide-single/index.html
And you can use firebug to findout which selector to use.
<window> <style> div.z-list-cell-cnt{ border:3px solid; } </style> <zscript>contacts = new String[] {"Monday", "Tuesday", "Wednesday"};</zscript> <listbox width="100px"> <listitem label="${each}" forEach="${contacts}"/> </listbox> </window>
It works like charm
Thanks Peter
Asked: 2008-12-23 16:32:12 +0800
Seen: 113 times
Last updated: Dec 26 '08