<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div style="width: 20%;background-color: brown;float: left">1</div> <div style="width: 80%;background-color: aquamarine;float: left">2</div> </body> </html>
可以解决拼接行的问题。