Hey there, I'm currently working on making the bootstrap thumbnails fit into a Div that has a horizontal scroll. However, I've run into an issue where they are collapsing beneath it instead of being offset properly as shown in the image. Does anyone have any suggestions on how to resolve this? Below is the code snippet I am using.
<div class="container">
<h1 style="color:white">Merchandise</h1>
<div style="overflow-x: scroll;width:100%;">
<?php
while($row = mysqli_fetch_array($Merchval))
{
echo '<div style="float:left;width:200px;display: block;">
<div class="thumbnail " style="margin-right:5px;margin-left:5px;">
<img src="assets/Merch/'.$row[1].''.$row[2].'" alt="'.$row[1].'">
<div class="caption">
<h3>'.$row[0].'</h3>
<h7>'.$row[3].'</h7>
<p>€'.$row[4].'</p>
<p><a href="#" class="btn btn-primary" role="button">Button</a>
</div>
</div>
</div>';
}
?>
</div>
</div>