Centrer le titre des catégories
2 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1 • Partagez
Centrer le titre des catégories
Bonsoir tout le monde o/
Je suis désolé de vous déranger à une heure si tardive, mais voila, en fait depuis un petit moment je cherche comment centrer mon titre de catégorie par rapport à toute la longueur du forum. En effet, j'ai codé le Template afin d'obtenir deux colonnes uniquement (celle de la description des sous forums & celle des derniers messages.) Je pense que pour centrer le titre des catégorie, il faudrait fusionner la ligne 'titre de catégorie' donc ici 'ADMINISTRATION' avec celle des derniers messages.
Mon but étant par la suite de permettre d'avoir le titre de catégorie 'ADMINISTRATION' bien centré sur la longueur du fofo comme ceci :
Au lieu de ça http://essais-graph.forumactif.fr/forum
Vous pouvez voir que le mot ADMINISTRATION part vers la gauche et c'est logique vu qu'il se centre uniquement par rapport à ma colonne catégorie.
Pour vous aider, voici mon template :
De plus, si vous avez besoin d'autre chose, n'hésitez pas.
Merci beaucoup beaucoup !
Je suis désolé de vous déranger à une heure si tardive, mais voila, en fait depuis un petit moment je cherche comment centrer mon titre de catégorie par rapport à toute la longueur du forum. En effet, j'ai codé le Template afin d'obtenir deux colonnes uniquement (celle de la description des sous forums & celle des derniers messages.) Je pense que pour centrer le titre des catégorie, il faudrait fusionner la ligne 'titre de catégorie' donc ici 'ADMINISTRATION' avec celle des derniers messages.
Mon but étant par la suite de permettre d'avoir le titre de catégorie 'ADMINISTRATION' bien centré sur la longueur du fofo comme ceci :
Au lieu de ça http://essais-graph.forumactif.fr/forum
Vous pouvez voir que le mot ADMINISTRATION part vers la gauche et c'est logique vu qu'il se centre uniquement par rapport à ma colonne catégorie.
Pour vous aider, voici mon template :
- Code:
<!-- 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>
</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="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}"><right>{catrow.cathead.CAT_TITLE}</right></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="{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>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</span>
</h{catrow.forumrow.LEVEL}></td><td style="padding-left: 40px; text-align: right;" class="gensmall"><br>Messages: {catrow.forumrow.POSTS} • Sujets: {catrow.forumrow.TOPICS}</td></tr></tbody></table>
<span class="genmed"><div class="boxdescription">{catrow.forumrow.FORUM_DESC}</div></div></span>
<span class="gensmall">
{catrow.forumrow.L_LINKS}<div class="boxsousforum">{catrow.forumrow.LINKS}</div>
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
</span>
</td>
<td class="row3 over" align="center" valign="middle" height="50">
<span class="gensmall"><br><br><div class="boxmessage"><br><br>{catrow.forumrow.LAST_POST}</div></span>
</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 -->
De plus, si vous avez besoin d'autre chose, n'hésitez pas.
Merci beaucoup beaucoup !
Dernière édition par Ami-mimi le Ven 25 Oct 2013 - 22:31, édité 1 fois
Re: Centrer le titre des catégories
Bonjour. ^^
Votre explication est très claire.
Dans le template, cherchez cette ligne :
Votre explication est très claire.
Dans le template, cherchez cette ligne :
et remplacez par :<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
- Code:
<th colspan="3" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
colspan="3"
Re: Centrer le titre des catégories
Bonsoir !
Merci beaucoup ça marche à merveille, c'était simple au final >3<
Merci beaucoup ~ Sujet résolu ^^
Merci beaucoup ça marche à merveille, c'était simple au final >3<
Merci beaucoup ~ Sujet résolu ^^
Sujets similaires
» Centrer le titre des catégories
» Centrer titre catégories
» Centrer le titre des catégories.
» Centrer titre des catégories
» Centrer le titre des catégories
» Centrer titre catégories
» Centrer le titre des catégories.
» Centrer titre des catégories
» Centrer le titre des catégories
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum