Ricardo
Ricardo

Reputation: 37

Table with one border

Table with only one border line, in this case i have two borders...

<table width="100%" border="1">
<tr>
<td width="12%">&nbsp;</td>
<td width="88%">&nbsp;</td>
</tr>
</table>

Thanks

Upvotes: 0

Views: 143

Answers (3)

Dominic Green
Dominic Green

Reputation: 10258

You should really use css for styling where possible. A great article about it is here http://www.w3schools.com/css/css_table.asp

Try adding this to you css

 table
{
border-collapse:collapse;
}

An example is here http://jsfiddle.net/cxmBW/1

Upvotes: 1

j08691
j08691

Reputation: 207901

Add the border-collapse CSS rule:

table {
    border-collapse:collapse;
}

jsFiddle example

Upvotes: 4

Moob
Moob

Reputation: 16184

CSS:

table {border-collapse:collapse;}

Upvotes: 2

Related Questions