I would like to use the CSS equivalent of border="1" through an equivalent stylesheet definition.
The border-width and border-style applies for the table but the cell borders which are given by border="1" are missing out.
I would like to use the CSS equivalent of border="1" through an equivalent stylesheet definition.
The border-width and border-style applies for the table but the cell borders which are given by border="1" are missing out.
If you have some tables which want internal borders and some which don't, to differentiate, create a class "border1". The html changes to :
<table class="border1">
and add css :
.border1, .border1 th, .border1 td
{
border: 1px solid black
}
which creates a border for the table as well as the cells inside.