td,th { border:1px solid black; padding:1em; } th { background:lightgrey; } h2 { display:inline; }