HTML/CSS/CSS Attributes and Javascript Style Properties/empty cells

Материал из Web эксперт
Перейти к: навигация, поиск

empty-cells: hide

   <source lang="html4strict">

<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Table Example</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body {

 font-family: arial, verdana, sans-serif;

} td {

 border: solid 1px black;
 width: 100px;
 empty-cells: hide;

} </style> </head> <body>

Race 1 Race 2 Race 3
Driver A 22m 33s 18m 50s 8m 45s
Driver B 24m 56s 16m 23s 8m 11s

</body> </html>

</source>