Web >> Design >> CSS >> How to split a div into 2 columns like a table row with 2 columnsCSS: div.row span.left { float: left; text-align: left; font-weight: bold; color: #fff; width: 49%; } div.row span.right { float: right; text-align: right; font-weight: bold; color: #fff; width: 49%; } HTML: <div style="border-right: #333 1px solid; padding-right: 0px; border-top: #333 1px solid; padding-left: 0px; padding-bottom: 0px; margin: 0px auto; border-left: #333 1px solid; width: 90%; padding-top: 0px; border-bottom: #333 1px solid; background-color: #666"> <div class="spacer"> </div> |