| .CheckBoxOrSwitch { | |
| font-family: "Arial"; | |
| vertical-align: middle; | |
| height: 100%; | |
| box-sizing: border-box; | |
| } | |
| .CheckBoxOrSwitch > DIV { | |
| width: 0px; | |
| height: 25px; | |
| display: inline-block; | |
| vertical-align: middle; | |
| } | |
| .CheckBoxOrSwitch > IMG { | |
| vertical-align: middle; /* If you remove this, the IMG will be centered and the text will valign to baseline. */ | |
| margin-right: 5px; /* Distance between image and text */ | |
| height: 25px; | |
| width: 25px; | |
| display: inline-block; | |
| } | |
| .CheckBoxOrSwitch > INPUT { | |
| vertical-align: middle; | |
| margin-right: 5px; | |
| display: inline-block; | |
| } | |
| .CheckBoxOrSwitch > LABEL { | |
| vertical-align: middle; | |
| margin-right: 5px; | |
| display: inline-block; | |
| } |