1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<!DOCTYPE html> <html> <body> <style> html, body, div { margin: 0; padding: 0; } div { width: 75px; height: 75px; float: left; } </style> <div style="background-color:red"></div> <div style="clear:left"></div> <div style="background-color:blue"></div> </body> </html>