我使用下面的代码来查看产品id。对每个列表使用背景图像。我想把图像和文字带回前台。
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.addcart
{
}
.addcart ul{
list-style:none;
}
.addcart li{
list-style:none;
background-image:url(round.png);
background-repeat: no-repeat;
height:45px;
top:0px;
}
.addcart h3
{
font-size:24px;
font-weight:bold;
padding:10px 0px 40px 10px;
color:#F00;
z-index:400px;
position:relative;
}
</style>
</head>
<body>
<ul class="addcart">
<li><span><h3>96</h3></span></li>
<li><h3>97</h3></li>
</ul>
</body>
</html>发布于 2013-02-06 14:25:11
我想最好的方法就是通过Javascipt或jQuery将该文本的display属性设置为none。不需要把它送回去。或者你有什么特别的理由要把它寄回去吗?
https://stackoverflow.com/questions/14722659
复制相似问题