This code:
<td>
<label>
<input type="checkbox">
</label>
</td>
yields this:
, which is wide. I want only the check-box square part, like the check-boxes in this demo. Writing only <td><input type="checkbox"></td> creates simple check-box (not JQM style), since it’s inside a table.
Does somebody has simple solution ?
first of all you will not be able to customize the by default developed HTML control. what I meant is just taking out the square portion from check box.
The link you share is doing it with the help of css classes and images.
Initially.
Later on when you click the square with help of java-script they have just swapped classes.
The easiest way would be using some thing similar in your layout and swapping the classes with JS.