Bonjour a tous
voila je voudrais modifier l'apparence du theme que j'ai en ce moment sur mon site
- agrandir la parti des news pour que le tableau complet touche les bords de l'ecran car pour l'instant j'ai en gros 4cm de marge de chaque cote du tableau.
mon site a : un header ,un bloc de gauche ,un bloc de news et un bloc de droite.
http://docs.nuked-klan.org/doku.php?id=les_themes:theme.php
Maintenant la partis du fichier theme.php seulement la partis News
function news($data)
{
$posted = _NEWSPOSTBY . " <a href=\"index.php?file=Members&op=detail&autor=" . urlencode($data['auteur']) . "\">" . $data['auteur'] . "</a> " . _THE . " ". $data['date']. " " . _AT . " " . $data['heure'];
$comment = "<a href=\"index.php?file=News&op=index_comment&news_id=" . $data['id'] . "\">" . _NEWSCOMMENT . "</a> (" . $data['nb_comment'] . ") " . $data['printpage']. " " . $data['friend'];
?>
<table style="width: 675px; height: 23px; background-image:url(themes/OxygeneV4/images/news-h.png);" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 2%;"></td>
<td style="width: 96%; text-align: center;"><b><?php echo $data['titre']; ?></b></td>
<td style="width: 2%;"></td>
</tr>
</table>
<table style="width: 675px;background-image:url(themes/OxygeneV4/images/news-c.png);" cellpadding="0" cellspacing="0">
<tr style="vertical-align:top;">
<td style="width: 2%;"></td>
<td style="width: 96%;"><br /><?php echo $data['image']; ?><br /><?php echo $data['texte']; ?><br /><br /></td>
<td style="width: 2%;"></td>
</tr>
</table>
<table style="width: 675px; height:22px;background-image:url(themes/OxygeneV4/images/news-b.png);" cellpadding="0" cellspacing="0">
<tr style="vertical-align:top;">
<td style="width: 2%;"></td>
<td style="width: 96%; text-align: right;"><?php echo $posted; ?></td>
<td style="width: 2%;"></td>
</tr>
</table><br />
<?php
}
Que faire merci d'avance
Niblon91
Configuration: Linux php5 php9-mysql apache2 mysql-server phpmyadmin openssh-server webmin
Firefox 2.0.0.3