HTML CSS examples for CSS Layout:Layout
Layout element inside li float left
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul li { float:left; } </style> <!--from w w w. j a v a 2s . c o m--> </head> <body> <ul> <li> <div> Lore </div> <div> Lorem </div> </li> <li> <div> Lore </div> <div> Lorem </div> </li> </ul> </body> </html>