HTML / CSS table with GRIDLINES

后端 未结 3 463
独厮守ぢ
独厮守ぢ 2021-02-03 17:56

how do I display the gridlines in a HTML table? (am using IE6)

相关标签:
3条回答
  • 2021-02-03 18:25
    <table border="1"></table>
    

    should do the trick.

    0 讨论(0)
  • 2021-02-03 18:28

    Via css. Put this inside the <head> tag.

    <style type="text/css" media="screen">
    
    table{
    border-collapse:collapse;
    border:1px solid #FF0000;
    }
    
    table td{
    border:1px solid #FF0000;
    }
    </style>
    
    0 讨论(0)
  • 2021-02-03 18:46

    For internal gridlines, use the tag: td For external gridlines, use the tag: table

    0 讨论(0)
提交回复
热议问题