Horizontally stretch UL element to width 100%

Hi kids,

Did you know that you can horizontally stretch a ul element to 100%

here is the code.

ul{
    display: table;
    width: 100%;
}
ul li{
    display: table-cell;  
}

Enjoy Kids!
Ciao!

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *