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

Hide empty cell

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
Hide empty cell <!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> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Hide Empty Cell</title> <style> table { empty-cells: hide; } td, th { border: 1px solid pink; } </style> </head> <body> <table> <tr> <td rowspan="4"></td> <th colspan="4" id="">j1</th> <th rowspan="4" id="">j2</th> </tr> <tr> <th id="">k1</th> <th id="">k2</th> </tr> <tr> <th id="">Programming Code Examples</th> <td headers="">java</td> <td headers="">php</td> <td headers="">csharp</td> </tr> <tr> <th id="">Code Examples</th> <td headers="">basic</td> <td headers="">asp</td> <td headers="">c++</td> </tr> </table> </body> </html>