Warning: Undefined array key "StartingPoint" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 107 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 115 Warning: Undefined variable $WEB_ROOT in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 169 CSS Tutorial - Tables - border-collapse

border-collapse did not show up in my list of styles regarding borders. Why? Because it is there specifically for tables.

table{
border:solid red 2px;
border-collapse:collapse;
}
This is column 1 This is column 2 This is column 3 This is column 4
Here's data Here's data Here's data Here's data
Here's data Here's data Here's data

Now the gap is gone! The opposite effect would be border-collapse:separate;.

And *whoops* the blue border of <tr> suddenly shows up. We didn't want that now, did we.