Vertikale belyning
Verander maklik die vertikale belyning van inlyn-, inlynblok-, inlyn-tabel- en tabelselelemente.
Verander die belyning van elemente met die vertical-alignment
nutsprogramme. Neem asseblief kennis dat vertikale belyning slegs inlyn-, inlynblok-, inlyn-tabel- en tabelselelemente affekteer.
Kies uit .align-baseline
, .align-top
, .align-middle
, .align-bottom
, .align-text-bottom
, en .align-text-top
soos nodig.
Met inlyn-elemente:
basislyn
bo
middel
onder
teks-bo
teks-onder
<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>
Met tabelselle:
basislyn | Top | middel | onderkant | teks-bo | teks-onderkant |
<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>