Revision history [back]

click to hide/show revision 1
initial version

answered 2018-04-22 17:26:51 +0800

cor3000 gravatar image cor3000

ZK Team

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

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

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More