HTML CSS examples for CSS Widget:UL Alignment
Full width left-aligned list
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!-- w w w .jav a 2 s .c o m--> display:table; width:100%; } li { display:table-cell; } </style> </head> <body> <ul> <li style="background: #f00;">L</li> <li style="width: 100px; background: #00f">L</li> <li style="background: #f0f;">L</li> </ul> </body> </html>