很好看的表格樣式

來源:互聯網
上載者:User

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><br /><html xmlns="http://www.w3.org/1999/xhtml"><br /><head><br /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br /><title>CSS Tables</title><br /><link href="styles.css" mce_href="styles.css" rel="stylesheet" type="text/css" /><br /></head><br /><mce:style type="text/css"><!--<br />/* CSS Document */<br />body {<br /> font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> color: #4f6b72;<br /> background: #E6EAE9;<br />}<br />a {<br /> color: #c75f3e;<br />}<br />#mytable {<br /> width: 700px;<br /> padding: 0;<br /> margin: 0;<br />}<br />caption {<br /> padding: 0 0 5px 0;<br /> width: 700px;<br /> font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> text-align: right;<br />}<br />th {<br /> font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> color: #4f6b72;<br /> border-right: 1px solid #C1DAD7;<br /> border-bottom: 1px solid #C1DAD7;<br /> border-top: 1px solid #C1DAD7;<br /> letter-spacing: 2px;<br /> text-transform: uppercase;<br /> text-align: left;<br /> padding: 6px 6px 6px 12px;<br /> background: #CAE8EA url(images/bg_header.jpg) no-repeat;<br />}<br />th.nobg {<br /> border-top: 0;<br /> border-left: 0;<br /> border-right: 1px solid #C1DAD7;<br /> background: none;<br />}<br />td {<br /> border-right: 1px solid #C1DAD7;<br /> border-bottom: 1px solid #C1DAD7;<br /> background: #fff;<br /> font-size:11px;<br /> padding: 6px 6px 6px 12px;<br /> color: #4f6b72;<br />}</p><p>td.alt {<br /> background: #F5FAFA;<br /> color: #797268;<br />}<br />th.spec {<br /> border-left: 1px solid #C1DAD7;<br /> border-top: 0;<br /> background: #fff url(images/bullet1.gif) no-repeat;<br /> font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br />}<br />th.specalt {<br /> border-left: 1px solid #C1DAD7;<br /> border-top: 0;<br /> background: #f5fafa url(images/bullet2.gif) no-repeat;<br /> font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> color: #797268;<br />}<br />/*---------for IE 5.x bug*/<br />html>body td{ font-size:11px;}<br />--></mce:style><style type="text/css" mce_bogus="1">/* CSS Document */<br />body {<br /> font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> color: #4f6b72;<br /> background: #E6EAE9;<br />}<br />a {<br /> color: #c75f3e;<br />}<br />#mytable {<br /> width: 700px;<br /> padding: 0;<br /> margin: 0;<br />}<br />caption {<br /> padding: 0 0 5px 0;<br /> width: 700px;<br /> font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> text-align: right;<br />}<br />th {<br /> font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> color: #4f6b72;<br /> border-right: 1px solid #C1DAD7;<br /> border-bottom: 1px solid #C1DAD7;<br /> border-top: 1px solid #C1DAD7;<br /> letter-spacing: 2px;<br /> text-transform: uppercase;<br /> text-align: left;<br /> padding: 6px 6px 6px 12px;<br /> background: #CAE8EA url(images/bg_header.jpg) no-repeat;<br />}<br />th.nobg {<br /> border-top: 0;<br /> border-left: 0;<br /> border-right: 1px solid #C1DAD7;<br /> background: none;<br />}<br />td {<br /> border-right: 1px solid #C1DAD7;<br /> border-bottom: 1px solid #C1DAD7;<br /> background: #fff;<br /> font-size:11px;<br /> padding: 6px 6px 6px 12px;<br /> color: #4f6b72;<br />}</p><p>td.alt {<br /> background: #F5FAFA;<br /> color: #797268;<br />}<br />th.spec {<br /> border-left: 1px solid #C1DAD7;<br /> border-top: 0;<br /> background: #fff url(images/bullet1.gif) no-repeat;<br /> font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br />}<br />th.specalt {<br /> border-left: 1px solid #C1DAD7;<br /> border-top: 0;<br /> background: #f5fafa url(images/bullet2.gif) no-repeat;<br /> font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;<br /> color: #797268;<br />}<br />/*---------for IE 5.x bug*/<br />html>body td{ font-size:11px;}</style><br /><body><br /><table id="mytable" cellspacing="0" summary="The technical specifications of the Apple PowerMac G5 series"><br /><caption> </caption><br /> <tr><br /> <th scope="col" abbr="Configurations">Configurations</th><br /> <th scope="col" abbr="Dual 1.8">Dual 1.8GHz</th><br /> <th scope="col" abbr="Dual 2">Dual 2GHz</th><br /> <th scope="col" abbr="Dual 2.5">Dual 2.5GHz</th><br /> </tr><br /> <tr><br /> <th scope="row" abbr="Model" class="spec">lipeng</th><br /> <td>M9454LL/A</td><br /> <td>M9455LL/A</td><br /> <td>M9457LL/A</td><br /> </tr><br /> <tr><br /> <th scope="row" abbr="G5 Processor" class="specalt">mapabc</th><br /> <td class="alt">Dual 1.8GHz PowerPC G5</td><br /> <td class="alt">Dual 2GHz PowerPC G5</td><br /> <td class="alt">Dual 2.5GHz PowerPC G5</td><br /> </tr><br /> <tr><br /> <th scope="row" abbr="Frontside bus" class="spec">Lennvo</th><br /> <td>900MHz per processor</td><br /> <td>1GHz per processor</td><br /> <td>1.25GHz per processor</td><br /> </tr><br /> <tr><br /> <th scope="row" abbr="L2 Cache" class="specalt">Black</th><br /> <td class="alt">512K per processor</td><br /> <td class="alt">512K per processor</td><br /> <td class="alt">512K per processor</td><br /> </tr><br /></table><br /></body><br /></html>

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.