HTML CSS examples for CSS Property:overflow
Break span-element inline-block overflow inside container
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .container {<!--from ww w . j a v a 2 s . com--> display:block; width:201px; flex-wrap:wrap; border:2px solid Chartreuse; padding:11px; } .item { display:inline; background:yellow; margin-right:6px; border:3px solid yellow; line-height:3; text-decoration:none; } </style> </head> <body> <span class="container"> <a href="#" id="item1" class="item">Lorem ipsum</a> <a href="#" id="item2" class="item">Lorem ipsum</a> <a href="#" id="item3" class="item">Lorem ipsum</a> </span> </body> </html>