summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haveproblems/percentage-margin-floats2.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/haveproblems/percentage-margin-floats2.html b/haveproblems/percentage-margin-floats2.html
new file mode 100644
index 0000000..70edf35
--- /dev/null
+++ b/haveproblems/percentage-margin-floats2.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>Percentage margin floats</title>
+<style>
+div {
+ margin-left: 30%;
+ float: left;
+ padding: 8px;
+ border: 1px solid #bbb;
+ background-color: #ddd; }
+div div {
+ background-color: #fff;}
+</style>
+</head>
+
+<body>
+<div><div>hello mooses</div></div>
+</body>
+</html>