360065-1.html (530B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 3 <head> 4 <title>table-cell Testcase</title> 5 <style type="text/css"> 6 7 /* Test case: */ 8 .tablespan { 9 display: table-cell; 10 } 11 .inlinediv { border: 1px solid blue; } 12 .tablespan { border: 1px solid purple; } 13 14 </style> 15 </head> 16 <body> 17 18 <span class="inlinediv"> 19 <span class="tablespan">x</span> 20 </span> 21 </body> 22 </html>