Source

Mpangilio wa wima

Badilisha kwa urahisi mpangilio wima wa vipengee vya ndani, vya ndani, vya ndani, jedwali la ndani na kisanduku cha jedwali.

Badilisha mpangilio wa vitu na vertical-alignmenthuduma. Tafadhali kumbuka kuwa upangaji wa wima huathiri tu vipengee vya ndani, vya ndani, vya ndani, jedwali la ndani na kisanduku cha jedwali.

Chagua kutoka .align-baseline, .align-top, .align-middle, .align-bottom, .align-text-bottom, na .align-text-topinavyohitajika.

Na vipengele vya ndani:

maandishi ya msingi juu katikati chini -juu maandishi-chini
<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>

Na seli za meza:

msingi juu katikati chini maandishi-juu maandishi-chini
<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>