所有支持的浏览器我有这样的片段:鉴于here编辑here中心文字与CSS
我怎样才能让在圆圈中的“X”留在所有支持的浏览器(至少Firefox3的+和铬)
段:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Backbone: Tody</title>
<style>
.delete {
-moz-border-radius: .75em;
-webkit-border-radius: .75em;
width: 1.4em;
height: 1.4em;
text-align: center;
display: inline-block;
line-height: 1.4em;
display:inline-block
vertical-align:middle
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: bold;
color: white;
background-color: gray;
cursor: pointer;
}
.delete:before {
content: "\2715";
/* content: "\00D7"; */
}
.delete:hover {
background-color: red;
}
</style>
</head>
<body>
<div class="delete"></div>
</body>
</html>
它不是已经在中间了吗? – 2010-11-14 19:40:47
该版本在FF上可以正常使用,但不能在Chrome上使用,必须有一些可以在 – clyfe 2010-11-14 19:50:41