Suraj Suraj - 2 years ago 65
HTML Question

align li elements on right side

I have

like below in my code

<ul class="thumbnails-carousel clearfix" style="list-style:none;">
<li><img src="" alt="1.jpg"></li>
<li><img src="" alt="2.jpg"></li>
<li><img src="" alt="3.jpg"></li>
<li><img src="" alt="4.jpg"></li>

I want these images to be on the right hand side of each image instead of going below each other.

Answer Source

You can use float:left as well as display:inline-block

ul li{


ul li{
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download