首页 > 综合百科 > > 正文
2022-09-20 17:55:02

html table标签怎么合并边框

导读 大家好,小百来为大家解答以上的问题。html table标签怎么合并边框这个很多人还不知道,现在让我们一起来看看吧!1、1234567891011121314151

大家好,小百来为大家解答以上的问题。html table标签怎么合并边框这个很多人还不知道,现在让我们一起来看看吧!

1、1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071                                无聊的你。</p><p>2、采纳即可                            table{                margin:auto;                width:300px;                border-collapse:collapse;            }            th,td{                border:1px solid black;            }            tr td:first-child{                border-left:0;            }            tr td:last-child {                border-right:0;            }            tr:first-child td,tr:first-child th{                border-top:0px;            }            tr:last-child td{                border-bottom:0px;            }                            

                                                                                                                                                                                                                                
                    11                                    22                                    22                
                    33                                    44                                    22                
                    33                                    44                                    22                
    

本文到此分享完毕,希望对大家有所帮助。