, but useful for */ display: inline-block; text-align: center; text-decoration: none; /* create a small space when buttons wrap on 2 lines */ margin: 2px 0; /* invisible border (will be colored on hover/focus) */ border: solid 1px transparent; border
Getting a radio element and it’s checked value Radio buttons in a form can be grouped together using the same name attribute, such that, if one of them is checked, all the others are automatically un-checked. Let us look at an example: <input type=&quo