Bonjour.
Je débute en code source HTML (même pas une semaine) et je tente de faire des trucs, mais.....marche pô....
Bref voila mon problème:
J'était en train de modifier le thème "EADJ2.1" pour ajouter le maximum d'image (avec des parties modulables, bien sûr), parce que j'aime bien ça moi, les images.
Bref, ce thème est construit sous forme de tableaux.
Au milieu de l'en-tête, il y a une cellule qui fait toute la largeur.
Elle aligne ses éléments au milieu:
-un fond avec une image qui se répète.
-une image de déco
-7 images pour les boutons du menu
-une image de déco
L'imageAlors, j'ai voulu placer les images de déco à chaque extémités de la cellule.
Avec align="left" pour la première,
et align="right" pour la seconde
Mais j'obtient un saut de page:
La preuve en imagele code original:
<tr>
<td width="100%" background="<{$xoops_imageurl}>a-menubg.gif" height="31" align="center">
<img border="0" src="<{$xoops_imageurl}>a-bot-left.gif" width="36" height="31" >
<a href="/index.php" title="ACCUEIL"><img border="0" src="<{$xoops_imageurl}>a-bot1-1.gif" width="86" height="31"></a>
<a href="/modules/newbb/" title="FORUM"><img border="0" src="<{$xoops_imageurl}>a-bot2-1.gif" width="86" height="31"></a>
<a href="/modules/mydownloads/" title="TELECHARGEMENTS"><img border="0" src="<{$xoops_imageurl}>a-bot3-1.gif" width="86" height="31"></a>
<a href="/modules/sections/" title="BIBLIOTHEQUES"><img border="0" src="<{$xoops_imageurl}>a-bot4-1.gif" width="86" height="31"></a>
<a href="/modules/news/" title="ARTICLES"><img border="0" src="<{$xoops_imageurl}>a-bot5-1.gif" width="86" height="31"></a>
<a href="/modules/news/submit.php" title="PROPOSER UN ARTICLE"><img border="0" src="<{$xoops_imageurl}>a-bot6-1.gif" width="86" height="31"></a>
<a href="/modules/news/archive.php" title=""><img border="0" src="<{$xoops_imageurl}>a-bot7-1.gif" width="86" height="31"></a>
<img border="0" src="<{$xoops_imageurl}>a-bot-left.gif" width="36" height="31" ></td>
</tr>
<tr>
La modif:
<tr>
<td width="100%" background="<{$xoops_imageurl}>a-menubg.gif" height="31" align="center">
<img border="0" src="<{$xoops_imageurl}>t1l4c1.gif" width="100" height="31" align="left" >
<a href="/index.php" title="ACCUEIL"><img border="0" src="<{$xoops_imageurl}>a-bot1-1.gif" width="86" height="31"></a>
<a href="/modules/newbb/" title="FORUM"><img border="0" src="<{$xoops_imageurl}>a-bot2-1.gif" width="86" height="31"></a>
<a href="/modules/mydownloads/" title="TELECHARGEMENTS"><img border="0" src="<{$xoops_imageurl}>a-bot3-1.gif" width="86" height="31"></a>
<a href="/modules/sections/" title="BIBLIOTHEQUES"><img border="0" src="<{$xoops_imageurl}>a-bot4-1.gif" width="86" height="31"></a>
<a href="/modules/news/" title="ARTICLES"><img border="0" src="<{$xoops_imageurl}>a-bot5-1.gif" width="86" height="31"></a>
<a href="/modules/news/submit.php" title="PROPOSER UN ARTICLE"><img border="0" src="<{$xoops_imageurl}>a-bot6-1.gif" width="86" height="31"></a>
<a href="/modules/news/archive.php" title=""><img border="0" src="<{$xoops_imageurl}>a-bot7-1.gif" width="86" height="31"></a>
<img border="0" src="<{$xoops_imageurl}>t1l4c2.gif" width="100" height="31" align="right" >
</td>
</tr>
Bref, à part mettre un tableau de 3 cellules dans celle-ci, ya un autre moyen, ou pas ?
Merci pour votre aide.
:xfsuper: