CSS fix to set a style for a specific input type
/images/default.jpgYou can set a css style on a specific input type without having to worry about classes etc. with this handy and not often used css fix.
input[type=radio] {
border: none; background:transparent
}
Have tested it and it works in IE7, IE8, Firefox 3.0 etc.
I haven’t tried IE6, but apparently this fix doesn’t work.
But I think these days people who are still using IE6 are fairly used to seeing pages rendered incredibly ugly, so it doesn’t really matter. ![]()