I want to make a list of images horizontally, but they are falling, look:
My CSS:
#fotos{
margin-top:30px;
width:650px;
overflow-x: hidden;
height:110px;
border:1px solid #CCC;
}
#fotos ul li{
margin-right:4px;
cursor: pointer;
width:100px;
height:100px;
background:#CCC;
border:1px solid #555;
display: inline-block;
}
My HTML:
<div id="fotos">
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
I also wanted to be able to click on the corners and show the next images.