我不知道为什么 IE 8 不能识别这个选择器“*=”
这是我用于该网站的文档类型:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
选择器适用于除 IE 8 之外的所有浏览器 - 有什么建议吗?
这是完整的选择器:
.contourErrorMsg[style*="display: inline;"],
.contourErrorMsg[style*="display:inline;"] {
display: block !important;
}