summaryrefslogtreecommitdiff
path: root/Base/res/html/misc/vertical-align.html
blob: a79a38e86295bf333d4063b4a8234e7200bb3ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<style>
div {
    display: inline-block;
    border: 3px solid black;
    padding: 5px;
    line-height: 3;
}
</style>
Hello friends: <div style="vertical-align: baseline">baseline</div>
<br>
Hello friends: <div style="vertical-align: top">top</div>
<br>
Hello friends: <div style="vertical-align: middle">middle (TODO)</div>
<br>
Hello friends: <div style="vertical-align: bottom">bottom</div>
<br>
Hello friends: <div style="vertical-align: sub">sub (TODO)</div>
<br>
Hello friends: <div style="vertical-align: text-top">text-top (TODO)</div>
<br>