0
How can we decrease the thickness of table border upto a single line
4 odpowiedzi
+ 3
To make it sigle line, use the border-collapse property.
table {
border-collapse: collapse;
}
for the thickness, set
<table border="1"> instead of 5. you can also change this through CSS.
you may directly go like this as well:
<table border="1" style="border-collapse:collapse;" >
+ 1
<table border="5"><!-- border="1" to decrease it or 0 -->
<tr>
<td>ABC</td>
<td>DEF</td>
<td>GHI</td>
</tr>
</table>
+ 1
I misunderstood ya , sorry
0
I want single lines of table borders with normal thickness.
Your code still make the table contents enclosed in boxes having double line borders