Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kame problema

Parašė Delive· 2012 Rugp. 21 18:08:30
#1


Sveiki, kodel ten nepasidaro tarpas ?

CSS kodas:

.news-footer {
background: url(images/news_down.png);
font-size: 9px;
height: 55px;
padding: 0 0 15px 0 ;
}


Php kodas:

function render_news($subject, $news, $info) {
 
	echo "<table cellpadding='0' cellspacing='0' width='535'>\n<tr>\n";
	echo "<td align='left' class='capmain'><div style='padding-left:20px;margin-top:-4px;'>".$subject."</div></td>\n";
	echo "</tr>\n<tr>\n";
	echo "<td class='main-body'>".$news."</td>\n";
	echo "</tr>\n<tr>\n";
	echo "</tr><td class='news-footer'></td></table>\n";
 
}