HTML CSS examples for CSS Widget:Table Cell
CSS space display: table-cell
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul li { display:inline-block; background:red; height:21px; width:21px; } </style> <!-- w w w. j a v a 2 s .co m--> </head> <body> <ul class="test"> <li>Lo</li> <li>Lor</li> </ul> <ul class="test"> <li>Lo</li> <li>Lor</li> </ul> </body> </html>