CSSActif, le forum, n'est plus maintenu. Il est néanmoins disponible pour consultation. Pour des outils pratiques, rendez-vous sur: Découvrez CSSActif, une collection d'outils et de tutoriels interactifs pour les développeurs Web — HTML, CSS, JavaScript et bien plus! | | icône de forum au dessus des derniers messages + espace étrange (résolu, merci) | |
| Kaileen
{ Membre }
Messages : 103
| Bonjour, Si je viens vers vous aujourd’hui, ce n'est pas pour moi, mais pour ma sœur, qui a un soucis d'affichage sur son catégorie, nous avons modifier plusieurs, avec succès, sur le template, le hic, c'est qu'en déplaçant, l'image de forum au dessus des derniers messages, ceux si ont tout simplement changer de place ! Ils sont aller se placer sous la CBOX, comme vous pouvez le voir directement sur le forum : http://fearstreet.forumactif.org/ ; de plus, un espace inutile est aller se mettre entre différentes catégories. Voici le template tel qu'il est actuellement : - Code:
-
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center"> <tr> <td valign="bottom"> <!-- BEGIN switch_user_logged_in --> <span class="gensmall">{LAST_VISIT_DATE}<br /> {CURRENT_TIME}<br /> </span> <!-- END switch_user_logged_in --> <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div> </td> <td class="gensmall" align="right" valign="bottom"> <!-- BEGIN switch_user_logged_in --> <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br /> <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br /> <!-- END switch_user_logged_in --> <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> </td> </tr> </table> <!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th> <!--th nowrap="nowrap" width="50">{L_TOPICS}</th> <th nowrap="nowrap" width="50">{L_POSTS}</th> <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th--> </tr> <!-- END tablehead --> <!-- BEGIN cathead --> <tr> <!-- BEGIN inc --> <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td> <!-- END inc --> <td class="{catrow.cathead.CLASS_CAT}" colspan="2" width="100%"> <h{catrow.cathead.LEVEL} class="hierarchy"> <span class="cattitle"> <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a> </span> </h{catrow.cathead.LEVEL}> </td> <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td> </tr> <!-- END cathead --> <!-- BEGIN forumrow --> <tr> <!-- BEGIN inc --> <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td> <!-- END inc --> <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50"> <div class="StatsForum"><b>{catrow.forumrow.TOPICS} SUJETS ∼ {catrow.forumrow.POSTS} MESSAGES</b></div> <h{catrow.forumrow.LEVEL} class="hierarchy"> <span class="forumlink"> <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br /> </span> </h{catrow.forumrow.LEVEL}> <span class="genmed">{catrow.forumrow.FORUM_DESC}</span> <span class="gensmall"> <!-- BEGIN switch_moderators_links --> {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS} <!-- END switch_moderators_links --> <div class="sousforums">{catrow.forumrow.LINKS}</div> </span> </td> <td class="row3 over" align="center" valign="middle" height="50"> <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle"> <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /> </td><br/><div class="gensmall derniersmessages">{catrow.forumrow.LAST_POST}</div> </td> </tr> <!-- END forumrow --> <!-- BEGIN catfoot --> <tr> <!-- BEGIN inc --> <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td> <!-- END inc --> <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td> </tr> <!-- END catfoot --> <!-- BEGIN tablefoot --> </table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow --> Merci d'avance ! |
Dernière édition par Kaileen le Mer 12 Déc 2012, 08:25, édité 1 fois | |
| | | 'Christa
Lostmindy
Messages : 2856
| Bonjour ! Le problème réside dans cette partie : - Code:
-
<td class="row3 over" align="center" valign="middle" height="50"> <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle"> <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /> </td><br/><div class="gensmall derniersmessages">{catrow.forumrow.LAST_POST}</div> </td> Comme tu peux le constater, on a un <td> dans un <td> (une cellule dans une cellule), ce qui pose naturellement problème L'image se limite au seul code - Code:
-
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /> Les balises de cellule qui l'encadrent devraient avoir été retirées O.O Je vous invite, toi et ta soeur, à lire attentivement ce tutoriel pour mieux comprendre le problème x) | | |
| | | Kaileen
{ Membre }
Messages : 103
| Merci, ça marche. Mais du coup, je n'ai plus la partie avec le dernier message, il y a juste l'image, c'est normal ? | | |
| | | 'Christa
Lostmindy
Messages : 2856
| J'avais dit de supprimer juste les balises de cellules qui encadraient l'image, pas de supprimer TOUT ce qui avait autour u_u'. Encore une fois, va voir le tutoriel que j'ai mentionné, tout est expliqué. | | |
| | | Kaileen
{ Membre }
Messages : 103
| C'est bon, ça marche, j'avais simplement oublier un truc, désolée. Merci pour ton aide. Problème résolu | | |
| | | Melone
{ Modérateur }
Messages : 805
| Bonjour, Merci d'avoir prévenu, j'archive ! Bonne journée, | | |
| | | Contenu sponsorisé
| | | | | icône de forum au dessus des derniers messages + espace étrange (résolu, merci) | |
|
Sujets similaires | |
|
| Permission de ce forum: | Vous ne pouvez pas répondre aux sujets dans ce forum
| |
| |
| |
|
| Partenaires Or
|