日期:2014-05-17  浏览次数:20579 次

链接在IE中不可见,但在谷歌浏览器中可见是为什么呢?
代码如下中是这样的

<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Java Card Project</title>
</head>
<body>

<table >
<td><a href="javascript:void(0)"    style="height: 20xp;width: 20px;margin-right: 20xp;background: url('images/delete.gif') no-repeat;overflow: hidden;text-indent: -30000px;display: inline-block;">w</a></td>
</table>
</body>
</html>


------解决方案--------------------
前面加
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">