.product { float:left; margin-right:30px; margin-top:36px; height:107px; position:relative; display:block; }
.product img { display:block; border:none; }.product_title {
position:absolute; z-index:999; padding:3px; text-align:center; color:#ffffff; background:#c33b4e; overflow:hidden; max-height:11px; min-width:5px; max-width:80%;
box-shadow:0px 0px 8px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 8px rgba(0, 0, 0, 0.4); -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}
.product_title p { margin:0; padding:0; font-size:11px; padding:0 2px; font-family:Arial, Helvetica, sans-serif; }
//product 样式
<a href="<%=dr["Address"] %>" class="product" title="<%=dr["Name"] %>" ><img alt="<%=dr["Name"] %>" src="<%=dr["Img"]%>" width="81" height="107" /></a>
.product img { display:block; border:none; }.product_title {
position:absolute; z-index:999; padding:3px; text-align:center; color:#ffffff; background:#c33b4e; overflow:hidden; max-height:11px; min-width:5px; max-width:80%;
box-shadow:0px 0px 8px rgba(0, 0, 0, 0.4); -moz-box-shadow:0px 0px 8px rgba(0, 0, 0, 0.4); -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}
.product_title p { margin:0; padding:0; font-size:11px; padding:0 2px; font-family:Arial, Helvetica, sans-serif; }
//product 样式
<a href="<%=dr["Address"] %>" class="product" title="<%=dr["Name"] %>" ><img alt="<%=dr["Name"] %>" src="<%=dr["Img"]%>" width="81" height="107" /></a>
地址是一个文件,不加class="product" 点击可以直接下载,加上就不行了。。