HTML CSS examples for CSS Layout:2 Column
2 float columns aligned to top
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!-- www.j a v a2s.com--> <body> <div style="overflow: hidden; width: 500px; margin: auto; border: 1px solid black;"> <div style="float: left; margin-right: 20px; border: 1px solid black;"> <b> <u>TEST</u> </b> </div> <div style="overflow: hidden;"> <div style="float: left; border: 1px solid black;"> test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </div> </div> </div> </body> </html>