Why border-spacing not work with border collapse property | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why border-spacing not work with border collapse property

https://code.sololearn.com/WT86T1FZZORe/?ref=app

5th Jun 2021, 4:34 PM
Nirmal Choudhary
2 Answers
+ 1
border-spacing works when the border-collapse property is set to "separate". Literally, "border-collapse: collapse" sets the border-spacing property to zero,
5th Jun 2021, 4:55 PM
Kirabo Ibrahim
Kirabo Ibrahim - avatar
+ 1
border-collapse: collapse; do much more than setting border-spacing to zero... it merge cells borders as one, but border-spacing: 0; makes borders be adjancent ^^ so border-spacing has no meaning when using border-collapse: collapse ;P
6th Jun 2021, 1:34 AM
visph
visph - avatar