Source

Hoʻopololei pololei

E hoʻololi maʻalahi i ka hoʻopololei kū ʻana o nā mea ʻeleʻele inline, inline-block, inline-table, a me ka papa.

E hoʻololi i ka alignment o nā mea me nā vertical-alignmentpono. E ʻoluʻolu e hoʻomaopopo i ka pili ʻana o ka vertical-align wale nō i nā mea i loko o ka laina, inline-block, inline-table, a me nā ʻāpana cell table.

E koho mai .align-baseline, .align-top, .align-middle, .align-bottom, .align-text-bottom, a .align-text-topinā pono.

Me nā mea inline:

kikokikona ma luna waena lalo kikokikona-luna kikokikona-lalo
<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>

Me nā pūnaewele papa:

laina kumu luna waena lalo kikokiko-luna kikokiko-lalo
<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>