<!DOCTYPE html> <html> <head> <style> table, tbody, tr, td { padding: 0; margin: 0; border-spacing: 0 } table { background: green; position: absolute; width: 100%; border: none; left: 0; top: 0; height: 10px; } </style> </head> <body> <div style="position: relative; display: inline; color: white; background: white;"> ABCDEF<table><tr><td></td></tr></table></div> <body> </html>