0

ZK Radio Button

asked 2015-02-23 09:32:22 +0800

sanjeeb gravatar image sanjeeb
36

Hi,

I have a requrement to change the round radio button to squre radio button and customize the css of radio button.Can anyone help me how to do htis

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-23 10:02:49 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

updated 2015-02-23 10:03:39 +0800

It can be done, but not working for IE (for the moment) :

<style>
    input[type='radio'] {
        -webkit-appearance: checkbox; /* Chrome, Safari, Opera */
        -moz-appearance: checkbox;    /* Firefox */
        -ms-appearance: checkbox;     /* not currently supported */
    }
</style>

Example :

http://zkfiddle.org/sample/qn7fus/31-Select-from-Radiogroup

Source of the code :

http://stackoverflow.com/questions/279421/can-you-style-an-html-radio-button-to-look-like-a-checkbox

Greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-02-23 09:32:22 +0800

Seen: 15 times

Last updated: Feb 23 '15

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