+ 1

Any idea on how to make the table border just a single line?

I want the cells to have a single line rather than this default that looks like double lines. Even if I set the border to 0 or None, it completely remove the border in which I don't want.

9th Oct 2017, 3:25 PM
Ifeoluwa D. Ojo
Ifeoluwa D. Ojo - avatar
3 Answers
+ 2
Set this in your CSS. The border-collapse property sets whether the table borders should be collapsed into a single border. table { border-collapse: collapse; } table, th, td { border: 1px solid black; }
9th Oct 2017, 3:39 PM
ihateonions
0
Wow! Thank you @ihateonions. That just solve my problem. Works perfectly. 👍
9th Oct 2017, 3:48 PM
Ifeoluwa D. Ojo
Ifeoluwa D. Ojo - avatar
0
No worries, glad it helped.
9th Oct 2017, 4:12 PM
ihateonions