<!DOCTYPE HTML> <html> <head> <style> .outer { border: 1px solid black; } .cell { display: table-cell; border: 1px solid green; } .marg { margin: 1em 0; } </style> </head> <body> <div class="outer"> <div class="marg"></div> <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div> <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div> <div class="marg"><span class="cell"><b>Hello Kitty</b></span></div> </div> </body> </html>