3
I want to make a list of images horizontally, but they’re 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.
Could you explain your question more? From what I understand, you want to create a list that doesn’t break, but creating a horizontal scroll bar. That’s the way it is?
– Samir Braga