HTML CSS examples for CSS Layout:Column Layout
Set column count
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!-- w ww .jav a 2 s .c o m--> padding: 0; column-count:3; } ul li{ border: 1px solid #ddd; } </style> </head> <body> <ul> <li>Col1</li> <li>Col2</li> <li>Col3</li> </ul> </body> </html>