floating-math-ref.html (438B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>floating math (reference)</title> 6 </head> 7 <body> 8 <p>Test passes if you see a blue square on the left and a smaller magenta square on the right.</p> 9 <div> 10 <div style="display: inline-block; width: 50px; height: 50px; background: magenta"></div> 11 <div style="float: left"><div style="width: 100px; height: 100px; background: blue"></div></div> 12 </div> 13 </body> 14 </html>