CSS控制網頁元素

來源:互聯網
上載者:User

<div style="width:200px;border:#999999;">
  <div style="height:30px;background:url(tbg.jpg)"> 產品報價 </div>
  
<div style="font-size:14px;color:#ff00ff;float:left">筆記本</div>
<div style="font-size:14px;color:#ff00ff;float:right">更多>></div>
<div style="border-bottom:1px #999999 dotted; clear:both"></div>

<div style="font-size:14px;color:#ff00ff;float:left">筆記本</div>
<div style="font-size:14px;color:#ff00ff;float:right">更多>></div>
<div style="clear:both">
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
</div>
<div style="border-bottom:1px #999999 dotted; clear:both"></div>

<div style="font-size:14px;color:#ff00ff;float:left">筆記本</div>
<div style="font-size:14px;color:#ff00ff;float:right">更多>></div>
<div style="clear:both">
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
</div>
<div style="border-bottom:1px #999999 dotted; clear:both"></div>

<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>

<div style="border-bottom:1px #999999 dotted; "></div>

<div style="font-size:14px;color:#ff00ff;float:left">筆記本</div>
<div style="font-size:14px;color:#ff00ff;float:right">更多>></div>
<div style="clear:both">
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
</div>
<div style="border-bottom:1px #999999 dotted; clear:both"></div>

<div style="font-size:14px;color:#ff00ff;float:left">筆記本</div>
<div style="font-size:14px;color:#ff00ff;float:right">更多>></div>
<div style="clear:both">
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
<div style="width:100px;float:left;line-height:150%;"> thinkpad </div>
<div style="width:100px;float:left;line-height:150%;"> 惠普 </div>
<div style="width:100px;float:left;line-height:150%;"> 索尼 </div>
</div>
<div style="border-bottom:1px #999999 dotted; clear:both"></div>

</div>

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.