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
<!DOCTYPE HTML> <html> <head> <style> table { border-collapse: collapse; background-color: red; } td, th { background-color: lime; width:100px; height:100px; box-sizing:border-box; } td { border-top: 4px solid lime; } </style> </head> <body> <table cellpadding="0"> <tr><th colspan="2"></th></tr> <tr><th></th><td></td> </table> </body> </html>