【发布时间】:2018-02-01 14:41:42
【问题描述】:
<?php
$query1=mysqli_query($db_con,"select * from image_tb");
while($row=mysqli_fetch_array($query1)){
?>
</div>
<div class="block-content collapse in">
<div class="row-fluid padd-bottom">
<div class="span3">
<a href="#" class="thumbnail">
<img src="<?php echo $row['img_location'];?> " alt="260x180" style="width: 260px; height: 180px;">
</a>
</div>
<?php
}
?>
1[我需要水平显示图像但是所有图像都是垂直显示的。]
【问题讨论】:
-
这甚至不是一个问题。我们不会为你做你的工作。向我们展示您迄今为止所做的尝试。提示 - 使用 CSS 进行样式设置。