Source

Dik tekizlemek

Içerki, içerki blok, içerki tablisa we stol öýjük elementleriniň wertikal deňleşmesini aňsatlyk bilen üýtgediň.

Kärhanalar bilen elementleriň deňleşmesini üýtgediň vertical-alignment. Dikligine deňlemek diňe içerki, içerki blok, içerki tablisa we stol öýjük elementlerine täsir edýär.

Zerur .align-baselinebolanda ,,,, we saýlaň . .align-top_.align-middle.align-bottom.align-text-bottom.align-text-top

Içerki elementler bilen:

esasy ýokarky orta aşaky tekst-ýokarky tekst-aşaky
<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>

Stol öýjükleri bilen:

esasy ýokarky ortasy aşagy tekstiň ýokarsy tekstiň aşagy
<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>