是否有可能将这些元素分成两行显示? 我不能让class =" row1" =" ROW2"因为结构...
PHP:
<div class="newses">
<div class="mid_header">
<h3>Aktualności</h3>
<div class="heading_border"></div>
</div>
<?php for ( $i = 0, $counted = count($last_articles['newses_date']); $i < $counted; ++$i): ?>
<div class="srpart2_data"<?php print ( !$i ? ' id="srpart2_data_first"' : '' ); ?>>
<?php print ( $last_articles == null ? $internal_langs['data_is_empty'] : $last_articles['newses_date'][$i] ); ?>
</div>
<div class="srpart2_title">
<?php print ( $last_articles == null ? $internal_langs['data_is_empty'] : $last_articles['newses_title'][$i] ); ?>
</div>
<div class="srpart2_tresc">
<?php print ( $last_articles == null ? $internal_langs['data_is_empty'] : $last_articles['newses_content'][$i] ); ?>
</div>
<div class="srpart2_links">
<div class="srpart2_links_part1">
<a href="<?php print base_url() . 'main/show/' . $last_articles['newses_id'][$i]; ?>"><?php print $internal_langs['main_go_to_news']; ?></a>
<img src="<?php print base_url(); ?>system/application/views/img/<?php print $script_lang; ?>/ar_lightgray.gif" alt="Arrow" />
</div>
<div class="srpart2_links_part2">
<a href="<?php print base_url() . 'newses/'; ?>"><?php print $internal_langs['main_go_to_news_archive']; ?></a>
<img src="<?php print base_url(); ?>system/application/views/img/<?php print $script_lang; ?>/ar_lightgray.gif" alt="Arrow" />
</div>
<div class="clear"></div>
</div>
<?php endfor; ?>
</div>
我知道它很乱,但如果我不能改变它的结构,它不是我的代码和最佳方式。
编辑:我的意思是我不知道关于PHP的任何事情:(如果可以做到b css,但它可能不能。LaughDonor:继续网友:www.bossini.pl,我试图展示框&#34; aktualnosci&#34;在2列中,它是我上面的代码。