Html – why is the table border not showing in this html table

html

I have a simple html table like this: http://jsbin.com/oxiyi

I want to have a border with color #990000 outside the entire table. So I have made a table outside the table and given it border color of #990000. But still I dont see a border color.

Best Solution

Use the border property with CSS style and give it the color. I got rid of the nested tables in your example as well.

<style>
td {
    border: solid 2px lightgrey;
}
</style>
<table style="border: 5px solid #990000; border-collapse: collapse">

http://jsbin.com/odici

That preserves your borders on your cells...