HTML gevorderde |
|
IE only
/** turn off the border on radio and checkboxes in IE **/
/** necessary because IE defines the border as a box around the radio **/
/** or the checkbox, not the actual button **/
input.radio {
font:11px Arial,Helvetica,sans-serif;;
color: #5B5C56;
background-color: #FFFFFF;
border:none;
}
/** turn the border back on for radio and checkboxes for Mozilla based browser **/
/** necessary because these define the border as the actual radio or checkbox **/
/** IE 5+ ignores this CSS 2 definition **/
input[type="radio"], input[type="checkbox"] {
font:11px Arial,Helvetica,sans-serif;;
color: #336699;
background-color: #FFFFFF !important;
border:solid 1px #999999 !important;
}
/** turn off the border on radio and checkboxes in IE **/ /** necessary because IE defines the border as a box around the radio **/ /** or the checkbox, not the actual button **/ input.radio { font:11px Arial,Helvetica,sans-serif;; color: #5B5C56; background-color: #FFFFFF; border:none; } /** turn the border back on for radio and checkboxes for Mozilla based browser **/ /** necessary because these define the border as the actual radio or checkbox **/ /** IE 5+ ignores this CSS 2 definition **/ input[type="radio"], input[type="checkbox"] { font:11px Arial,Helvetica,sans-serif;; color: #336699; background-color: #FFFFFF !important; border:solid 1px #999999 !important; }
|