Kiko Kiko - 1 year ago 108
CSS Question

CSS: How to align table data

enter image description here

How to align BDS to education? Without using white-space:nowrap.

<div class="doc-schedule clearfix">
<table style="border: 0px;border-style: none">
<td class="tdPadding"><span>{{ page.dentist_specialty }}</span></td>
<td class="tdPadding"><span>{{ page.dentist_education }}</span></td>
<td><strong>Work Days</strong></td>
<td class="tdPadding"><span>{{ page.dentist_workdays }}</span></td>

Answer Source

tr are vertically aligned middle by default

add this

tr {


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download