CSS样式布局

来源:百度知道 编辑:UC知道 时间:2024/06/15 12:01:41
淘宝网首页www.taobao.com上的页面最下面的一块 {热卖单品} 的样式怎么做,只做一个产品的就行。(要求,鼠标在图片上,文字有下划线,并且变换了一种颜色。鼠标不放上去 文字没下滑线,颜色是正常的黑色。)
【具体请自己到淘宝网上看看。页面最下面的】
麻烦写一下html和css。谢谢了。最好兼容一下IE6.谢谢你们了

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<style>
.dadiv{width:160px; height:180px; padding:0; margin:0;}
.div{width:160px; height:160px;}
.dadiv a{color:#0033FF; font-size:14px; text-decoration:none;}
.dadiv a:hover{color:#FF0000; text-decoration:underline;}
.wen{width:160px; height:20px; line-height:20px; text-align:center;}
</style>
<body>
<div class="dadiv">