border-collapse-offset-002.xht (734B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> 2 <title>CSS Test: border collapse</title> 3 <link rel="author" title="Bernd Mielke" href="mailto:bmlk@gmx.de" /> 4 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#collapsing-borders" /> 5 <link rel="match" href="border-collapse-offset-002-ref.xht"/> 6 <style type="text/css"> 7 td {width: 100px; text-align:center} 8 caption {border:solid 4px green} 9 10 </style> 11 </head> 12 13 <body> 14 15 <table style="border-collapse:collapse;"><caption>caption</caption> 16 <tbody><tr><td style="border:solid 4px orange; height:30px">cell 1</td></tr> 17 </tbody></table> 18 19 20 21 </body></html>