Ich habe eine Reihe von rund 6 divs
. Derzeit, wenn die Reihe der divs die Breite der Seite unterdrückt, wie folgt thisMachen Sie Zeile von div horizontalen Überlauf
Meine Frage ist: ** Wie habe ich eine Reihe von horizontalen divs mit einer Bildlaufleiste wie this *
*Hier ist mein Code:
<div style="overflow:auto;">
<div class="box">
<span>Example</span>
<br>
<img src="http://thumb9.shutterstock.com/photos/display_pic_with_logo/59156/113033326.jpg" width="50" height="80" />
</div>
<div class="box">
<span>Example</span>
<br>
<img src="http://thumb9.shutterstock.com/photos/display_pic_with_logo/59156/113033326.jpg" width="50" height="80" />
</div>
<div class="box">
<span>Example</span>
<br>
<img src="http://thumb9.shutterstock.com/photos/display_pic_with_logo/59156/113033326.jpg" width="50" height="80" />
</div>
<div class="box">
<span>Example</span>
<br>
<img src="http://thumb9.shutterstock.com/photos/display_pic_with_logo/59156/113033326.jpg" width="50" height="80" />
</div>
<div class="box">
<span>Example</span>
<br>
<img src="http://thumb9.shutterstock.com/photos/display_pic_with_logo/59156/113033326.jpg" width="50" height="80" />
</div>
<div class="box">
<span>Example</span>
<br>
<img src="http://thumb9.shutterstock.com/photos/display_pic_with_logo/59156/113033326.jpg" width="50" height="80" />
</div>
</div>
<style>
.box {
float: left;
width: 127px;
margin: 9.2px;
border: 5px solid red;
}
</style>
JSFIDDLE: http://jsfiddle.net/ZrpHv/59/