blob: f123d6f5397cb43fd12383c48b9d8d5276dde728 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<html>
<style>
div { height: 20px; }
div > div { width: 100px; background: green; }
body > div { direction: rtl }
</style>
<body style="width: 400px">
<div><div style="margin-left: 100px; margin-right: auto"></div></div>
<div><div style="margin-left: auto; margin-right: 100px"></div></div>
<div><div style="margin-left: auto; margin-right: auto"></div></div>
<div><div style="margin-left: 100px; margin-right: 100px"></div></div>
<div><div style="margin-left: 100px; margin-right: auto"></div></div>
</body>
</html>
|