yazarlar bölümü diken bunu yatay olarak sıralamak istiyorum echo ile yapmayı denedim ama bir türlü beceremedim.

Bilgisi olan bir arkadaş yardımcı olursa sevinirim.

Teşekkürler.


<!-- authors: begin -->
  <div class="authors">
    <div class="authors-title">YAZARLAR</div>
	
	<?php
		$db->query("SELECT user_status FROM users WHERE user_status='editor'");
	?>
	
	<div<?php if($db->num_rows >= 4) {?> id="authors-box-layout"<?php } ?>> 
	
	<?php foreach($db->get_results("SELECT id,user_name_lastname,user_avatar FROM users WHERE user_status='editor'") as $editor){ 
		$editor_news = $db->get_row("SELECT id,news_title,sef FROM news WHERE user_id='$editor->id' ORDER BY id DESC");
	?>
	
    <div class="authors-box">
	  <h3><a title="<?=$editor_news->news_title?>" href="<?=sefurl($editor_news->sef,$editor_news->id)?>"></h3>
	  <div class="authors-img"><img alt="<?=$editor->news_title?>" height="71" width="79" src="upload/users/<?=$editor->user_avatar?>"></div>
	  <div class="authors-text">
	    <div class="authors-news-title"><?=$editor->user_name_lastname?></div>
		<div class="authors-news-content"><?=$editor_news->news_title?></div>
	  </div>
	  </a>
	</div>
	
	<?php } ?>
	
	

	</div>
	
  <div class="authors-arrow">
    <div id="authors-arrow-prev"></div>
	<div id="authors-arrow-next"></div>
  </div>  
	</div>
<!-- authors: end -->