Source

Okulaganya okw’okwesimbye

Kyangu okukyusa ensengeka eyeesimbye ey’ebintu ebiri mu layini, mu layini-bbulooka, mu layini-emmeeza, n’obutoffaali bw’emmeeza.

Kyusa okulaganya kwa elementi vertical-alignmentn'ebikozesebwa. Nsaba omanye nti vertical-align ekosa ebintu byokka ebiri mu layini, inline-block, inline-table, ne table cell.

Londa ku .align-baseline, .align-top, .align-middle, .align-bottom, .align-text-bottom, ne .align-text-topnga bwe kyetaagisa.

Nga olina ebintu ebiri mu layini:

baseline waggulu wakati wansi ekiwandiiko-waggulu ekiwandiiko-wansi
<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>

Nga olina obutoffaali bw’emmeeza:

entandikwa waggulu mumassekkati wansi text-top ekiwandiiko-wansi
<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>