CSS: Data column organized as top-down-right structure

ul { column-count: 2; column-gap: 0; } li { display: inline; } /* <div style="height:100%;overflow-y:auto;width:600px"> <ul> <li>Element 1<br></li> <li>Element 2<br></li> <li>Element 3<br></li> <li>Element 4<br></li> : <li>Element n<br></li> </ul> */
CSS for displaying array of data order from top to bottom and then to right column.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.