Home » Html » HTML / CSS table with GRIDLINES

HTML / CSS table with GRIDLINES

Posted by: admin November 29, 2017 Leave a comment

Questions:

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

Answers:

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>

Questions:
Answers:
<table border="1"></table>

should do the trick.

Questions:
Answers:

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