Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


HTML & CSS Web Design

Html Css > Code Examples

Td tag empty-cells hide

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Td tag empty-cells hide <?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>Td Tag Empty Cells Hide</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body { font-family: arial; } td { border: solid 1px blue; width: 150px; empty-cells: hide; } </style> </head> <body> <table> <tr> <td></td> <td scope="col">speed</td> <td scope="col">ram</td> <td scope="col">disk</td> </tr> <tr> <td scope="row">pc 1</td> <td>3.4 ghz</td> <td>8 gb</td> <td>300 gb</td> </tr> <tr> <td scope="row">pc 2</td> <td>4 ghz</td> <td>16 gb</td> <td>2 tb</td> </tr> </table> </body> </html>