table{ width:100%; th,td{ text-align:left; padding:5px; } th{ border-top:1px solid #ccc; border-bottom:1px solid #ccc; } }