HTML CSS examples for CSS Widget:UL Element
Layout LI as table
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li {<!-- ww w . j a v a 2 s. c o m--> display:inline-block; width:41%; } </style> </head> <body> <ul class="table"> <li class="table-cell">L</li> <li class="table-cell">L</li> <li class="table-cell">L</li> <li class="table-cell">L</li> </ul> </body> </html>