精彩专题推荐:建站之入门课 建站之必修课 建站之关键课 网站价值所在 流量提高专题 css+div 标准 个人网站打造全过程
  • 让你的网站产生收益赚钱,有博客和网站的绝对不能错过
  • 将指定的流量带到你的网站,为你站增加有效的访客,为你提升业绩
  • DIV+CSS布局的常用商品信息网页代码

    来源:不详 时间:07-12-20 点击: 点击这里收藏本文
     <!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>
    <title>无标题文档</title>
    <style type="text/css">
    <!--
    dt {
     float: left;
     width: 60px;
     margin: 0px;
     padding: 0px;
    }
    dd {
     float: left;
     clear: none;
     width: 290px;
     margin: 0px;
     padding: 0px;
    }
    dl {
     width: 350px;
     font-size: 9pt;
     line-height: 1.5em;
     position:relative;
     margin: 0px;
     padding: 0px;
     left:15px;
    }
    .red {
     color: #FF3300;
    }
    #box {
     width: 500px;
     background-color: #F1F1F7;
    }
    #box #content {
     padding-top: 10px;
     padding-right: 10px;
     padding-bottom: 10px;
     padding-left: 20px;
    }
    -->
    </style>
    </head>

    <body>
    <div id="box">
    <div id="content">
    <img name="" src="/img/200406301.jpg" width="90" height="103" alt="没有图片" align="left"/ >
    <dl>
     <dt>商品名称:</dt>
     <dd><strong>[这里商品名称] </strong>忧惠:<span class="red"><em>6.5折</em></span></dd>
     <dt>商品简介:</dt>
     <dd>商品名称商品名称商品品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品品名称商品名称商品名称商品名称商品名称商品名称商品名称商品名称商品品名称商品名称商品名称商品名称商品名称商品名称……[<span class="red";>详细介绍</span>]</dd>
     <dt>店铺地址:</dt>
     <dd>商品名称</dd>
     <dt>联系电话:</dt>
     <dd>1234-76312395 35202741</dd>
    </dl>
    </div>
    </div>
    </body>
    </html>


    用户评论

    广而告之