Source

Labɛnni jɔlen

Yɛlɛma nɔgɔya la inline, inline-block, inline-table ani table cell elements ka ɲɔgɔndan jɔlen na.

Yɛlɛma don fɛnw ni vertical-alignmentnafalanw ka ɲɔgɔndɛmɛ na. Aw k’a kɔlɔsi ko vertical-align bɛ nɔ bila inline, inline-block, inline-table ani table cell elements dɔrɔn de la.

Aw bɛ sugandi ka bɔ .align-baseline, .align-top, .align-middle, .align-bottom, .align-text-bottom, ani .align-text-topi n’a fɔ aw mago bɛ cogo min na.

Ni inline elements ye:

basigilen sanfɛ cɛmancɛ duguma sɛbɛnni-sanfɛ sɛbɛnni-jukɔrɔ
<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>

Ni tabali selilɛriw ye:

basigilen san fɛ cɛmancɛ jukɔrɔla sɛbɛnni-sanfɛ sɛbɛnni-kɔnɔ
<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>