html設(shè)置表格邊框樣式<html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>設(shè)置表格邊框樣式</title> <style> .border_distance{ border-collapse: collapse; /**設(shè)置小表格之間的間距為0*/ border-right:1px solid red; border-top:1px solid red; } .border_distance tr td{ border-left:1px solid green; border-bottom:1px solid green; } </style></head><body> <table class="border_distance"> <tr> <td>科目</td> <td>分?jǐn)?shù)</td> </tr> <tr> <td>語(yǔ)文</td> <td>92</td> </tr> <tr> <td>數(shù)學(xué)</td> <td>99</td> </tr> <tr> <td>英語(yǔ)</td> <td>59</td> </tr> </table></body></html>相關(guān)推薦:
HTML設(shè)置超鏈接字體顏色和點(diǎn)擊后的字體顏色
html設(shè)置或返回用于填充繪畫的顏色漸變或模式的屬性fillStyle
html懸浮框架的iframe加載html設(shè)置使用示例
以上就是html設(shè)置表格邊框樣式的詳細(xì)內(nèi)容,更多請(qǐng)關(guān)注 其它相關(guān)文章!
鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。
|
新聞熱點(diǎn)
疑難解答
圖片精選