HTML CSS examples for CSS Layout:Layout
organize this layout with overflows
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .row {<!-- w w w. ja v a2 s. co m--> width:201px; float:left; border:2px dashed Chartreuse; padding:4px; } .title { float:right; border:2px solid yellow; } .subtitle { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; border:2px solid blue; } </style> </head> <body> <div class="row"> <div class="title"> Lorem ipsum dolo </div> <div class="subtitle"> Lorem ipsum dolor sit amet, consectetur adipiscing el </div> </div> </body> </html>