IE 6 and attribute selectors
On a recent project, I came across an interesting bit of behavior from Windows Internet Explorer 6 that I wasn’t expecting. I created the following CSS rule:
input.text,
input[type=”text”] {
border: 1px solid #555; color: #555;
}
I initially created this rule to pass browsers who understand attribute selectors the CSS while at the same time […]