1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html><head><link rel="reference" href="border-collapse-dynamic-cell-005-ref.xht"><title>CSS Test: border collapse dynamic change to rowspan cell style </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 <meta name="flags" content="dom">
6 <script type="text/javascript">
7 function doTest(){
8 var t1 =document.getElementById('target');
9 t1.style.borderStyle="solid";
10 }
11 </script>
12 <style type="text/css">
13 td { border: 10px green outset;}
14 table {margin: 30px}
15 </style>
16 </head>
17 <body onload="doTest();">
18 <table style="border-collapse:collapse">
19 <tbody><tr><td>c11</td><td style="border-style:none" rowspan="3" id="target">c12</td><td>c13</td></tr>
20 <tr><td>c21</td><td>c23</td></tr>
21 <tr><td>c31</td><td>c33</td></tr>
22 </tbody></table>
23
24 </body></html>