aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/margin.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout/margin.html')
-rw-r--r--test/layout/margin.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/layout/margin.html b/test/layout/margin.html
new file mode 100644
index 00000000..d055f865
--- /dev/null
+++ b/test/layout/margin.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<style>
+.claz {
+ margin: 1em 2em 1em;
+}
+.one {
+ margin: 0 auto;
+ width: 10em;
+}
+#a {
+ margin: 1em;
+}
+</style>
+<div style="width: 1000px">
+spacer
+<div class=claz>left, right: 2em<br>top, bottom: 1em.</div>
+spacer
+<div class="clazz one">width: 10em<br>left, right: auto<br>top, bottom: 0</div>
+</div>