-1:000000000000 | 0:715b34a1fec4 |
---|---|
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style type="text/css"> | |
5 .separator { | |
6 height: 20px; | |
7 background-color: green; | |
8 } | |
9 #parent { | |
10 background-color: lime; | |
11 } | |
12 #float { | |
13 width: 100px; height: 100px; | |
14 margin-right: auto; | |
15 background-color: blue; | |
16 } | |
17 </style> | |
18 </head> | |
19 <body> | |
20 <div class="separator"></div> | |
21 <div id="parent"> | |
22 <div id="float"></div> | |
23 </div> | |
24 <div class="separator"></div> | |
25 </body> | |
26 </html> |