diff options
Diffstat (limited to 'test/html/render/margin-auto.html')
-rw-r--r-- | test/html/render/margin-auto.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/html/render/margin-auto.html b/test/html/render/margin-auto.html new file mode 100644 index 00000000..560234c0 --- /dev/null +++ b/test/html/render/margin-auto.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <title>Test CSS margin auto</title> + <style> + div {height:100px} + .container {width:300px; background: lightgreen} + .child {width:100px; background: brown; margin:auto } + </style> + </head> + <body> + <div class="container"> + <div class="child"></div> + </div> + </body> +</html> |