in English
Nhyiam a ɛda hɔ gyina hɔ
Ɛnyɛ den sɛ wobɛsesa inline, inline-block, inline-table, ne table cell elements no gyinabea a ɛda hɔ no.
Sesa alignment a elements ne vertical-alignment
utilities no hyia. Yɛsrɛ wo hyɛ no nsow sɛ vertical-align nya inline, inline-block, inline-table, ne table cell elements nkutoo so nkɛntɛnso.
Paw fi .align-baseline
, .align-top
, .align-middle
, .align-bottom
, .align-text-bottom
, ne .align-text-top
sɛnea ɛho hia.
Nea ɛwɔ inline elements mu no:
baseline
soro
mfinimfini
ase
text-top
text-ase
<span class="align-baseline">baseline</span>
<span class="align-top">top</span>
<span class="align-middle">middle</span>
<span class="align-bottom">bottom</span>
<span class="align-text-top">text-top</span>
<span class="align-text-bottom">text-bottom</span>
Nea ɛne pon so nkwammoaa:
mfiase no | soro | mfimfini | aseɛ | nsɛm a wɔakyerɛw wɔ so | nsɛm-ase hɔ |
<table style="height: 100px;">
<tbody>
<tr>
<td class="align-baseline">baseline</td>
<td class="align-top">top</td>
<td class="align-middle">middle</td>
<td class="align-bottom">bottom</td>
<td class="align-text-top">text-top</td>
<td class="align-text-bottom">text-bottom</td>
</tr>
</tbody>
</table>