8

I have a page: http://f1u.org/competitions

There are 3 tables. I can't understand why they all are with double border.

Please help me to understand.

Ok-Alex
  • 558
  • 2
  • 13
  • 29

5 Answers5

29

Add this to the table's style:

border-collapse: collapse;
Purag
  • 16,941
  • 4
  • 54
  • 75
9

By default, specifying border="1" on the <table> gives not only the table itself a border, but also all the <td>'s within it. There is also some default border spacing.

Adding border-collapse to the <table> and setting it to "collapse" will remove the spacing and collapse them into one border.

<table style="border-collapse: collapse;">
Rich Adams
  • 26,096
  • 4
  • 39
  • 62
1

Just add border-collapse: collapse; to the table styles

steveax
  • 17,527
  • 6
  • 44
  • 59
-1

Try to set cellpadding and cellspacing to 0.

Nate
  • 30,286
  • 23
  • 113
  • 184
tsilik_
  • 94
  • 4
-3

Ever heard of border-collapse?

Cyrille
  • 25,014
  • 12
  • 67
  • 90