Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: rucanunes - tammikuu 12, 2008, 02:42:51 IP

Otsikko: Small coding help.
Kirjoitti: rucanunes - tammikuu 12, 2008, 02:42:51 IP
Hello,

Could you please tell me how to make this text show smaller and in blue? Text: Previsão Alargada...

$cidades = explode(",", $cidades);
$content .="<table onmouseover=\"this.style.cursor='pointer'; return true;\" onmouseout=\"return true;\">";
for($i=0; $i<count($cidades); $i++)
{
$content .="<tr><td>";
$content .= apanha_tempo($cidades[$i],$graus, $mosConfig_cachepath);
$content .="</td></tr>";

}
$content .= "</table>";
$content .= "<a href='http://www.saladosprofessores.com/index.php?option=com_eweather&Itemid=113'><div class='small'>&nbsp;Previsão Alargada...</a></div>";
?>


Thank you,
Raul Nunes
Otsikko: Re: Small coding help.
Kirjoitti: vikk - tammikuu 14, 2008, 11:24:29 AP
$cidades = explode(",", $cidades);
$content .="<table onmouseover=\"this.style.cursor='pointer'; return true;\" onmouseout=\"return true;\">";
for($i=0; $i<count($cidades); $i++)
{
$content .="<tr><td>";
$content .= apanha_tempo($cidades[$i],$graus, $mosConfig_cachepath);
$content .="</td></tr>";

}
$content .= "</table>";
$content .= "<a href='http://www.saladosprofessores.com/index.php?option=com_eweather&Itemid=113'><small><div class='smalltext' style='color: blue;'>&nbsp;Previsão Alargada...</a></div></small>";
?>


Try that.