about summary refs log tree commit diff stats
path: root/test/layout/position-absolute-margins.html
blob: e558a8c04b70284d21862f3e8b6cb9436e5cff38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<style>
* {
margin: 0; padding: 0;
</style>
test
<div style="position: absolute; top: 0; left: 0; margin-left: 1ch; margin-top: 1em">
with top/left
</div>
<div style="position: absolute; margin-left: 1ch; margin-top: 1em">
without top/left
</div>