我不明白为什么从第二行开始的图像开始倒塌并且不像第一行那样出现?
<div class="container-fluid">
<div class="row-fluid">
<div class="span9 offset3">
<?php
$step = 1;
do{
echo <<<EOF
<div class="span4 {$class}" id="p{$rst_catalog['p_id']}">
<a href="pillow.php?p_id={$rst_catalog['p_id']}"><img src="images/{$rst_catalog['p_img']}" alt="img" title="{$rst_catalog['p_name']}" /></a>
<div class="row">
<div class="span12">
<a href="pillow.php?p_id={$rst_catalog['p_id']}">{$rst_catalog['p_name']}</a>
{$rst_catalog['p_rubric']}
{$rst_catalog['p_price1']}.00 руб.
</div>
</div>
</div>
EOF;
if ($step == 4)
$step = 11;
else
$step++;
} while ($rst_catalog = mysql_fetch_assoc($res_catalog));
?>
<?php require_once ("inc/inc_show_pagination.php"); ?>
</div>
</div>
</div>
其余代码(通过 PHP 生成)可以在这里找到