感觉可以这么写
html:
<a href="#"><span>中文</span><span>英文</span></a>
css:
span:nth-child(2){display:none;}
a:hover span:nth-child(2){display:block;}
a:hover span:nth-child(1){display:none;}
但好像IE8之前的浏览器不支持:nth-child
html:
<a href="#"><span>中文</span><span>英文</span></a>
css:
span:nth-child(2){display:none;}
a:hover span:nth-child(2){display:block;}
a:hover span:nth-child(1){display:none;}
但好像IE8之前的浏览器不支持:nth-child
2014-11-16
var isIE = !!window.ActiveXObject;
var isIE6 = isIE && !Window.XMLHttpRequest;
var isIE6 = isIE && !Window.XMLHttpRequest;
2014-11-15