您当前位置:编程帮手 > 知识 > 知识 > HTML和JS > DIV+CSS > 内容
代码库
2015-12-31 12:57:55 访问(6521) 赞(0) 踩(0)
<!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"> #div_digg .diggnum { line-height: 1.5em !important; } #div_digg .burynum { line-height: 1.5em !important; } #div_digg { float: right; margin-bottom: 10px; margin-right: 30px; font-size: 12px; width: 125px; text-align: center; margin-top: 10px; } .diggit { float: left; width: 46px; height: 52px; background: url('/images/upup.gif') no-repeat; text-align: center; cursor: pointer; margin-top: 2px; padding-top: 5px; } .diggnum { font-size: 14px; color: #075db3; font-family: Verdana; } .buryit { float: right; margin-left: 20px; width: 46px; height: 52px; background: url('/images/downdown.gif') no-repeat; text-align: center; cursor: pointer; margin-top: 2px; padding-top: 5px; } .burynum { font-size: 14px; color: #075db3; font-family: Verdana; } .clear { clear: both; } .diggword { margin-top: 5px; margin-left: 0; font-size: 12px; color: gray; } </style> </head> <body> <div style="padding-left: 10px;"> <div id="div_digg"> <div class="diggit"> <span class="diggnum" id="digg_count">1</span> </div> <div class="buryit"> <span class="burynum" id="bury_count">0</span> </div> <div class="clear"> </div> <div class="diggword" id="digg_tips"> (请您对文章做出评价) </div> </div> </div> </body> </html>
上一条:
下一条: