CodePen

HTML

            
              <table width="100%" border="1">
  <tr>
    <td nowrap width="5%">Content A</td>
    <td align="center" width="95%">Content B</td>
  </tr>
</table>

<div class="wrap">
  <div class="cell left">Content A</div>
  <div class="cell right">Content B</div>
</div>
            
          
!
via HTML Inspector

CSS

            
              .wrap { display: table; width: 100%; border-collapse: collapse; }
.cell { display: table-cell; border: 1px solid #000; }
.cell.left { width: 5%; white-space: nowrap; }
.cell.right { width: 95%; text-align: center; }
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................