First time here? Check out the FAQ!
![]() | 1 | initial version | |
Before ZK 7/CSS3 support buttons were rendered in a 3x3 table to achieve round corners. So that styling each of the 9 cells is a bit cumbersome... however still possible.
Before going into details it is much easier to change the mold to "os" which renders the button using a default OS button, and then use CSS to remove the background color.
Instead of a button you can also render an element and change it's style accordingly.
Here an example illustrating both options.
http://zkfiddle.org/sample/3ntp1s7/2-buttons-without-grey-edge-6-5
![]() | 2 | No.2 Revision |
Before ZK 7/CSS3 support buttons were rendered in a 3x3 table to achieve round corners. So that styling each of the 9 cells is a bit cumbersome... however still possible.
Before going into details it is much easier to change the mold to "os" which renders the button using a default OS button, and then use CSS to remove the background color.
Instead of a button you can also render an <a>
element and change it's style accordingly.
Here an example illustrating both options.
http://zkfiddle.org/sample/3ntp1s7/2-buttons-without-grey-edge-6-5