怎么为复选框和单选框另外设置样式

如何为复选框和单选框另外设置样式?
比如在style.css文件里已经写了

select{ width:185px; height:20px; line-height:20px;}
input{ width:180px; height:20px; line-height:20px;}

但是我不想让页面中的复选框和单选框的宽度也是180px,我想让这两个样式不适用于复选框和单选框,请问应该怎么办?

------解决方案--------------------
指定好input的类型

select{ width:185px; height:20px; line-height:20px;}
input[type="text"],
input[type="button"],
input[type="submit"] { width:180px; height:20px; line-height:20px;}