HTML CSS examples for CSS Layout:Column Layout
Make a column expand under its neighbor nearby column
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!--from www.j a va2 s . co m--> <body> <p style="color: blue"> <span style="float: right; color:red;"> other text. other text. other text. other text. <br> other text. other text. other text. other text. <br> other text. other text. other text. other text. <br> </span> Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. </p> </body> </html>