Fork me on GitHub






Saut de page
Aspirant
Inscrit: 18/05/2006 11:39
Messages: 49
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'image


Alors, 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 image


le 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:

Posté le : 17/06/2006 19:52
Partager Twitter Partagez cette article sur GG+
Re: Saut de page
Aspirant
Inscrit: 18/05/2006 11:39
Messages: 49
Re- (help

Posté le : 25/06/2006 18:28
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

44 Personne(s) en ligne (31 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 44 | Plus ...