IE6居然不支持以下划线开始的类名...如下代码:
Code
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns&#61;"http://www.w3.org/1999/xhtml">
<head>
<title>title>
<meta http-equiv&#61;"Content-Type" content&#61;"text/html; charset&#61;UTF-8" />
<style>
*{margin:0;padding:0;}
._wo{color:red;}
._wo:hover{color:#000;}
style>
head>
<body>
<div>
<a href&#61;"#" class&#61;"_wo">我是测试IE6的类名是否支持——a>
div>
body>
html>
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns&#61;"http://www.w3.org/1999/xhtml">
<head>
<title>title>
<meta http-equiv&#61;"Content-Type" content&#61;"text/html; charset&#61;UTF-8" />
<style>
*{margin:0;padding:0;}
._wo{color:red;}
._wo:hover{color:#000;}
style>
head>
<body>
<div>
<a href&#61;"#" class&#61;"_wo">我是测试IE6的类名是否支持——a>
div>
body>
html>