Преместване вдясно

AnF3taMin4o

Registered
Някой може ли да премести таблицата в дясно
Ето го кода за таблица
Код:
<table border="0" cellpadding="0" cellspacing="0" width="400">
		<tbody><tr>
		<td class="news" valign="top" width="330">
	  		<div class="title-news">Новини</div>

     <?php include ('includes/news.php') ?>
         
</div>
		</td>
		</tr>
	</tbody></table>


Ето го кода и от css

Код:
.news {
      background:url(img_new/news.gif) no-repeat top left;
	  border:1px solid #222222;
	  padding-bottom:6px;
	  float:right;
}
.title-news {
      font-family:Arial,Verdana;
      font-size:12px;
      color:#ABD021;
	  float:right;
      font-weight:bold;
	  padding:10px;
	  padding-bottom:0px;
	  margin-bottom:10px;
	  margin-right:25px;
	  
}
 
Пробвай така:

<table border="0" cellpadding="0" cellspacing="0" width="400" align="left">
<tbody><tr>
<td class="news" valign="top" width="330">
<div class="title-news">Новини</div>

<?php include ('includes/news.php') ?>

</div>
</td>
</tr>
</tbody></table>


Ако не стане, промени и CSS кода с този:

news {
background:url(img_new/news.gif) no-repeat top
right;
border:1px solid #222222;
padding-bottom:6px;
float:right;
}
.title-news {
font-family:Arial,Verdana;
font-size:12px;
color:#ABD021;
float:right;
font-weight:bold;
padding:10px;
padding-bottom:0px;
margin-bottom:10px;
margin-right:25px;

}
 

Back
Горе