Salve, ho un altro problema.
Ho un database che comprende una tabella notizie con un campo descrizione.
Nel campo descrizione ho il contenuto in formato html che voglio visualizzare
sul sito una volta che clicco su cat=271.
Il problema è che alcune parole vicine al margine destro vengono visualizzate
parzialmente.
Come si fa ad "allargare" il margine destro?
Credo che il codice relativo sia questo:
function display_news($news)
{
$sql="select * from notizie where id = '$news'";
$res=mysql_query($sql)or die("Errore : $sql");
echo '<table cellpadding="0" cellspacing="0" border="0" width="94%">';
while($row=mysql_fetch_array($res))
{
$popup_code= "\"zoom.html?showimage/".$row['foto']."\", \"\",\"resizable=1,HEIGHT=200,WIDTH=200\" ";
echo '<tr><td><label class="title1">';
echo get_table_campo("notizie","titolo","id",$row['id']);
echo '</label></td></tr>';
echo '<tr><td height="5px"></td></tr>';
echo '<tr><td style="text-align:justify"><label class="sub_title1">';
echo get_table_campo("notizie","sommario","id",$row['id']);
echo '</label></td></tr>';
echo '<tr><td height="20px"></td></tr>';
echo '<tr><td>';
echo '<table cellpadding="0" cellspacing="0" border="0">';
echo '<tr><td width="80%" style="text-align:justify"><div class="text2" style="margin-right:10px">';
echo get_table_campo("notizie","descrizione","id",$row['id']);
if($row['allegato'])
echo '

Allegato :'.get_table_campo('allegati','NOMEFILE','id',$row['allegato']).'';
echo '</div></td><td width="20%">';
if(get_table_campo("notizie","foto_anteprima","id" ,$row['id']))
echo "<a href=\"#1\" onclick='javascript:window.open(".$popup_code.");' ><image src='show_image.php?news=$row[id]' border=\"0\" align=\"right\"></a>";
echo '</td>';
echo '</tr></table>';
echo '</td></tr>';
echo '<tr><td height="20px"></td></tr>';
echo '</table>';
}

}