HTML / CSS table with GRIDLINES

Allan Bowe picture Allan Bowe · Nov 19, 2009 · Viewed 139.3k times · Source

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

Answer

pixeline picture pixeline · Nov 19, 2009

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>