centrage dernier message
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
Re: centrage dernier message
Bonsoir,
Pourrais je avoir votre index box et le css associé ?
Cordialement
Pourrais je avoir votre index box et le css associé ?
Cordialement
Re: centrage dernier message
- Code:
<table width="98%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr>
<td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<br />
<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="0" cellpadding="2">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </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="{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}">{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="{catrow.forumrow.INC_CLASS}" align="center" valign="middle"style="background:url(http://www.nerull.be/forum/fond-icone.png)">
<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="middle" width="70%" height="50">
<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}>
<div class="description"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
<span class="gensmall">
<!-- BEGIN switch_moderators_links -->
<div class="moderateur">{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}</div>
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
</span>
</td>
<td class="row3 over" align="center" valign="middle" height="50">
<table class="case_stats" cellpadding="0" cellspacing="0">
<tr>
<td class="dernier_msg"><p>{catrow.forumrow.LAST_POST}</p></td>
</tr>
<tr>
<td class="stats_forum"><p>{catrow.forumrow.POSTS} messages pour {catrow.forumrow.TOPICS} sujets </p></td>
</tr>
</table>
</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="0"><img src="{SPACER}" alt="" height="0" width="0" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="0" /><!-- END tablefoot --><!-- END catrow -->
- Code:
table.case_stats {
width:200px;
height:63px !important;
font-size: 10px;
text-align:center;
background-color: #3b3832;
background-image: url('http://www.nerull.be/forum/der-mess.png');
background-repeat: no-repeat;
margin-left: 0px;
margin-bottom: 0px;
}
table.case_stats td.dernier_msg p{
color: ;
width:200px;
height:59px !important;
padding:3;
margin:0;
margin-top:0px;
margin-center:25px;
font-size:11px;
}
table.case_stats td.dernier_msg p a{
text-decoration:none;
color:;
padding:5px;
}
case_stats {
margin: 5px;
}
stats_forum {
background-color: #3b3832;
}
.moderateur {
background-image: url('http://www.nerull.be/forum/fond-ca2t.png');
background-color: #3f2a0e;
height: 15px;
padding-left: 20px;
}
tHead span {
background-image: url('http://i41.servimg.com/u/f41/17/71/29/43/qeel-t10.png');
}
table#qeel td.row1 {
background:none !important;
}
.forumrow {
width: 57px;
height: 59px !important;
}
.row1 {
padding: 0px !important;
}
.row3.over {
padding: 0px;
}[/quote]
Re: centrage dernier message
Dans votre template,
repérez:
- Code:
<tr>
<td class="dernier_msg"><p>{catrow.forumrow.LAST_POST}</p></td>
</tr>
<tr>
Et remplacez par:
- Code:
<tr>
<td class="dernier_msg"><div class="cadrey">{catrow.forumrow.LAST_POST}</div></td>
</tr>
<tr>
Et dans votre css, rajoutez:
- Code:
cadrey {
padding-top: 25px;
}
Le rendu a l'air correct chez moi mais étant donné que je n'ai pas l'intégralité de votre thème, je ne peux pas voir si c'est bon ou pas
Cordialement.
Re: centrage dernier message
cela fonctionne mais ça réduit mon background
Sujets similaires
» Afficher le titre du sujet du dernier message d'un forum sur l'index la dernier page et dernier message
» Le bouton "Voir le dernier message" ne ramène pas au dernier message posté...
» Titre du topic dans "Dernier message" ne mène pas au dernier message
» Le bouton "Voir le dernier message" ne ramène pas au dernier message posté...
» Lorsque je clique sur "dernier message", je n'arrive pas sur le dernier message
» Le bouton "Voir le dernier message" ne ramène pas au dernier message posté...
» Titre du topic dans "Dernier message" ne mène pas au dernier message
» Le bouton "Voir le dernier message" ne ramène pas au dernier message posté...
» Lorsque je clique sur "dernier message", je n'arrive pas sur le dernier message
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