[code=css]input[type="text"] {[/code]works in most browsers. Unfortunately not in IE6 though, so you'd have to use classes to make it work in all browsers.
Attribute selectors do work in IE7, but not with complete support. You may need to use a strict doctype to get it to begin behaving anything like you'd want it to.
Comment