Is there a standard workaround for using this in IE6?
If I use the input type selector, it isn't recognized by IE6. If I add a class to the element in the HTML, and add it to the selected elements in CSS, it ignores that as wellCode:form input[type="text"], form textarea, form select { border: 1px solid #3b6e22; } form input[type="radio"], form input[type="checkbox"] { margin-right: 3px; margin-left: 3px; }
Although, it seems to work when I do this:Code:form input.myclass, form input[type="text"], form textarea, form select { border: 1px solid #3b6e22; }
Code:form input.myclass{ border: 1px solid #3b6e22; } form input[type="text"], form textarea, form select { border: 1px solid #3b6e22; }
However, I'd like to avoid doing that if I could, so I don't have to maintain the same code in two places.
Is there any standard workaround that you usually use?
Thanks![]()






Bookmarks