HTML / CSS table with GRIDLINES

HtmlCssGridlines

Html Problem Overview


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

Html Solutions


Solution 1 - Html

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>

Solution 2 - Html

<table border="1"></table>

should do the trick.

Solution 3 - Html

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAllan BoweView Question on Stackoverflow
Solution 1 - HtmlpixelineView Answer on Stackoverflow
Solution 2 - HtmlslugsterView Answer on Stackoverflow
Solution 3 - HtmlMohammed OsamaView Answer on Stackoverflow