0

How can we decrease the thickness of table border upto a single line

24th Apr 2017, 11:38 AM
Niraj Lal
Niraj Lal - avatar
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;" >
24th Apr 2017, 12:52 PM
CHMD
CHMD - avatar
+ 1
<table border="5"><!-- border="1" to decrease it or 0 --> <tr> <td>ABC</td> <td>DEF</td> <td>GHI</td> </tr> </table>
24th Apr 2017, 11:46 AM
Abdel
Abdel - avatar
+ 1
I misunderstood ya , sorry
24th Apr 2017, 2:04 PM
Abdel
Abdel - avatar
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
24th Apr 2017, 12:07 PM
Niraj Lal
Niraj Lal - avatar