簡單實用的網頁表格特效

來源:互聯網
上載者:User

<br />一、彩色虛線表格</p><style type="text/css"><!--.tab1 {border-top-width: thin;border-right-width: thin;border-bottom-width: thin;border-left-width: thin;border-top-style: dotted;border-right-style: dotted;border-bottom-style: dotted;border-left-style: dotted;border-top-color: #00CC66;border-right-color: #0099CC;border-bottom-color: #FF0000;border-left-color: #6699FF;}--></style><table width="200" border="0" cellpadding="2" cellspacing="2" class="tab1"><tr><td>虛</td><td>線</td></tr><tr><td>表</td><td>格</td></tr></table><p>二、滑鼠指向儲存格變色</p><table width="200" border="1" cellspacing="0" cellpadding="0"><tr><td>onmouseout="this.style.backgroundColor=''" <i>onmouse</i>over="this.style.backgroundColor='#FFcccc'">儲存格變色</td></tr><tr><td>onmouseout="this.style.backgroundColor=''" <i>onmouse</i>over="this.style.backgroundColor='#FFccaa'">儲存格變色</td></tr></table><p>三、立體表格</p><table border="1" bordercolorlight="#ffffff" bordercolordark="#ffffff" width="200" cellpadding="0" cellspacing="0"><tr align="center"><td width="86" bordercolorlight="#000000" bordercolordark="#eeeeee" bgcolor="#B7B7B7">立體</td><td width="108" bordercolorlight="#000000" bordercolordark="#eeeeee" bgcolor="#B7B7B7">表格</td></tr></table><p>四、表格嵌套<br />1、利用表格的間距來做嵌套 </p></p><table width="200" border="1" cellspacing="4" cellpadding="0"><tr><td>嵌套</td><td>嵌套</td><td>嵌套</td></tr></table><p>2、充分利用根據表格對齊的方式</p><table width="200" border="1" cellpadding="0" cellspacing="0" bordercolor="#FF0000"><tr><td><table width="60" border="1" align="left" cellpadding="0" cellspacing="0"><tr><td>表格對齊</td></tr></table><table width="60" border="1" align="right" cellpadding="0" cellspacing="0"><tr><td>表格對齊</td></tr></table><table width="80" border="1" align="center" cellpadding="0" cellspacing="0"><tr><td>表格對齊</td></tr></table></td></tr></table><p>五、半透明表格</p><style type="text/css"><!--.bg {background-color: #66CCFF;filter: Alpha(Opacity=20);}--> </style><table width="200" border="0" cellpadding="0" cellspacing="0" class="bg"><tr><td>半</td><td>透明</td></tr><tr><td>表</td><td>格</td></tr></table><p>六、陰影表格</p><table width="300" border="1" bgcolor="#EAEAEA"><tr><td width="93">111</td><td width="91">222</td><td width="94">333</td></tr></table><p>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.