Question about border-collapse and border

Hello!
I am curious why we use both the border-collapse and the border for Step 49 of Building a Balance Sheet. Am I wrong in thinking if the border is set to 0, there is nothing to collapse?

Visually, yes. You will not see borders to collapse since they are 0 in width.

But, under the hood, instead of having two borders of width 0 it will have one border of width 0.

Basically, the width is for borders’ width no matter if they’re collapsed or not.

1 Like

Thank you for helping me to understand this better, @MostafaElbadry!

1 Like