Aligner la description et la cellule dernier message.

2 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Aligner la description et la cellule dernier message.

Message par Shtoum Ven 31 Aoû 2012 - 22:17

Amis du jour, bonjour ! Amis du soir, bonsoir !

Je viens vous exposez un petit problème tout bête mais que je n'arrive résoudre. J'ai tenté un essaie sur mon forum test et j'aimerais bien l'appliquer sur mon forum. Je possède la version phpBB2 et voici le lin du forum en question : http://shtoumtest.forumgratuit.org/.

Donc, j'ai modifié mon template index_box que voici :

Code:
<table width="100%" border="0" cellspacing="0" 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="0" cellpadding="1">
<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">
<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">
<div class="forum-description"><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}></div>
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
 
<div class="forum-sousforum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
<span class="gensmall">
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
 
</span>
</td>
<!-- BEGIN forum_link_no -->
<td class="row3 over" align="center" valign="middle" height="50">
<div class="forum-stats">{catrow.forumrow.POSTS} messages, dans {catrow.forumrow.TOPICS} sujets.</div>
<div class="lastm"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
</td>
 
 
<!-- END forum_link_no -->
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</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 -->

Voici la partie du CSS concernée :
Code:
/*OMBRES*/
.statistiques a {text-shadow:#ffffff 0px 0px 3px;}
.row3 a {text-shadow:#ffffff 0px 0px 3px;}
.intercat {
  font-variant:small-caps;
  padding:2px;}
.name div span {text-shadow:#ffffff 1px 1px 1px;}
 
/*DESCRIPTIONS*/
.forum-description {
  background-image:url("http://obsession27.free.fr/divers/fonds/ba.gif");
  border-radius: 12px 12px 12px 12px;
  margin: auto;
  padding:10px;
  color:#000000;
  width:80%;
  font-size:10px;
  font-family:arial;
  text-align: justify;}
 
/*X SUJETS ET MESSAGES*/
.forum-stats{
  color:#000000;
  font-size:11px;
  font-style:italic;
  height:14px;
  padding:3px;
  text-align:center;
  width: 200px;
  font-family:candara;}
 
/*DERNIER MESSAGE*/
.lastm{
  background-image:url("http://obsession27.free.fr/divers/fonds/ba.gif");
  border-radius: 12px 12px 12px 12px;
  margin:auto;
  padding:10px;
  color:#000000;
  width:80%;
  font-size:10px;
  font-family:arial;
  text-align: center;}

/*SOUS FORUMS*/
.forum-sousforum {
  margin:auto;
  padding:4px;
  color:#000000;
  text-align:center;
  height:14px;
  font-size:11px;
  font-family:georgia;
  font-variant:small-caps;
  text-decoration: none;}

Ensuite, l'exposition de ce que je voudrais obtenir.
Spoiler:
Alors le texte en rose est bel et bien le titre de mes catégories seulement il c'est retrouvé dans la cellule de description je ne sais comment. J'en appelle à votre talent pour pouvoir m'aider s'il vous plait I love you .


Dernière édition par Shtoum le Sam 1 Sep 2012 - 0:51, édité 1 fois
avatar

Shtoum
Nouveau membre

Féminin
Messages : 24
Inscrit(e) le : 31/08/2012

http://skole.forumactif.com/
Shtoum a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Dr. Sam Ven 31 Aoû 2012 - 23:33

Bonjour,

remplacer tous votre template par celui-ci:
Code:
<table width="100%" border="0" cellspacing="0" 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="0" cellpadding="1">
<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">
<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">
<div class="forum-description"><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}></div>
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
 
<div class="forum-sousforum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
<span class="gensmall">
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
 
</span>
</td>
<!-- BEGIN forum_link_no -->
<td class="row3 over" align="center" valign="top" height="50">
  <div class="lastm"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
<div class="forum-stats">{catrow.forumrow.POSTS} messages, dans {catrow.forumrow.TOPICS} sujets.</div>
</td>
 
 
<!-- END forum_link_no -->
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</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 -->

Cela change un petit peu, mais pas vraiment le choix Wink
Dr. Sam

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Shtoum Ven 31 Aoû 2012 - 23:42

Parfait merci mes deux cellules sont alignées, en revanche le texte n'a pas bougé Confused. Le sujet est donc toujours d'actualité Smile
avatar

Shtoum
Nouveau membre

Féminin
Messages : 24
Inscrit(e) le : 31/08/2012

http://skole.forumactif.com/
Shtoum a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Dr. Sam Ven 31 Aoû 2012 - 23:44

Ha désolé pour le texte j'avais pas vu. Je te fait cela Smile
Dr. Sam

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Dr. Sam Ven 31 Aoû 2012 - 23:51

Tu peux me passer la totalité de ton CSS s'il te plait ?
Dr. Sam

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Shtoum Ven 31 Aoû 2012 - 23:57

Code:
/*MENU CONNEXION/DECONNEXION/MP/ECT ...*/
a.mainmenu{
color: #ffffff ;
font-size: 11px;
text-align: center;
background-color: #DEAEC3;
text-decoration: none;
border: 1px solid #6E5A44;
border-left: 6px solid #6E5A44 ;
border-right: 6px solid #6E5A44 ;
margin-right:1px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
text-shadow : #000000 1px 1px 2px;
padding-right: 15px;
}

/*FORME DES POSTES AINSI QUE DES TITRES*/
textarea, .textarea.post, input.post {
-webkit-border-radius: 15px;
-webkit-border-top-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius: 15px;
-moz-border-radius-topright: 5px;
-moz-border-radius-bottomleft: 5px;
border-radius: 15px;
border-top-right-radius: 5px;
border-bottom-left-radius: 5px;
}

/*LIGNE SUR LE CÔTE*/
.bodyline {
-webkit-border-radius: 80px;
-moz-border-radius: 80px;
border-radius: 80px;
border-right: 20px solid #6E5A44;
border-left: 20px solid #6E5A44;
}

/*LIENS DU FORUM, RETIRER LA LIGNE EN DESSOUS*/
a:link {text-decoration: uppercase;}
a:visited {text-decoration: none;}
a:hover {text-decoration: none !important;}
a.forumlink:hover {text-transform: uppercase;}
a { text-decoration: none; }



/*TITRE CATEGORIE*/
a.forumlink:link, a.forumlink:visited {
font-size: 25px;
text-align : left;
font-family: Times New Roman;
text-transform : lowercase;
text-shadow: 0px 0px 3px white;
letter-spacing: -3px;
padding-left: 0px;
padding-right: 3px;
padding-bottom: 0px;
padding-top: 3px;
margin-left: 30px;
margin-bottom: -2px;
display: block;
}

/*TITRE CATEGORIE AU SURVOL*/
span a.forumlink:hover {
letter-spacing: -5px; /* espacement du texte au survol */
  text-transform : uppercase;
text-shadow: 0px 0px 12px white;
}
 
/*FOND DE PAGE*/
body {
  /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
  font-family: Verdana, Helvetica, Arial, sans-serif;
  background-image: none;
  background-repeat}
   
/*APPARENCE DE LA CITATION*/
.quote{
background-color: #ffffff;
font-family: arial;
font-size: 12px;
color: #DEAEC3 ;
border-right : 3px #6E5A44 solid;
border-bottom : 3px #6E5A44 solid;
-webkit-border-radius: 12px;
-moz-border-radius: 7px;
border-radius: 7px;
-khtml-border-radius: 7px;
}

/*APPRENCE DE LA BALISE CODE*/
.code{
background-color: #ffffff;
font-family: courrier;
font-size: 12px;
color: #DEAEC3 ;
border-right : 3px #6E5A44 solid;
border-bottom : 3px #6E5A44 solid;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
-khtml-border-radius: 7px;
}

/*APPRENCE SPOILER*/
.spoiler {
border-bottom: 3px #6E5A44 solid;
border-right: 3px #6E5A44 solid;
background-color:#ffffff;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
-khtml-border-radius: 7px;
}

/*APPARENCE CATEGORIES*/
.row3Right{
border: none !important;
}
.thHead{
border: none !important;
}
.thCornerL, .thCornerR, .thTop{
border: none !important;
}
.thLeft, .thRight{
border-left: none !important;
border-right: none !important;
}
.catLeft, .catRight{
border: none! important;
}
.catHead{
border: none !important;
}
.catBottom{
border: none !important;
}


.forumline{
-webkit-border-radius: 20px;
-webkit-border-bottom-right-radius: 17px;
-webkit-border-bottom-left-radius: 17px;
-moz-border-radius: 20px;
-moz-border-radius-bottomright: 17px;
-moz-border-radius-bottomleft: 17px;
border-radius: 20px;
border-bottom-right-radius: 17px;
border-bottom-left-radius: 17px;
text-align: justify;
padding-left: 4px; /*espace entre les bloc et le cadre de l'index*/
padding-right: 4px; /*espace entre les bloc et le cadre de l'index*/
padding-bottom: 8px; /*espace entre les bloc et le cadre de l'index*/
padding-top: 8px;
}


.secondarytitle, .secondarytitle h2{
color: #FFFfff;
font-size: 25px;
text-transform: lowercase;
text-align: left;
font-family: Times New Roman;
text-shadow: 0px 0px 5px #FFFfff;
}

/*DEBUT PA*/
/* .systab .tab => les onglet */
.systab .tab {
  padding: 2px 10px;
  margin-right: 5px;
  color: #6E5A44;
  background: #DEAEC3;
  border: 1px solid #6E5A44;
  cursor: pointer;
  margin-top: 5px;
}
/* .systab .tab:hover => les onglets survolés */
.systab .tab:hover {
  background: #DEAEC3;
  color: #6E5A44;
  border-color: #DEAEC3;
  margin-top: 5px;
}
/* .systab .tab.selected => les onglets sélectionnés */
.systab .tab.selected{
  color: #6E5A44;
  background: #DEAEC3;
  margin-top: 5px;
}
/* .systab .contents => les conteneurs des contenus associés aux onglets  */
.systab .contents {
  margin-top: 1px;
  margin-bottom: 1px;
  background: #fff;
  padding: 10px;
}
/* style des onglets si ils sont à gauche ou à droite */
.systab.s_float .tab,.systab.s_float .tab {
  display: block;
  margin: 5px;
}
/* flottement des conteneurs si les onglets sont à gauche où à droite */
.systab.s_float .tabs,.systab.s_float .contents {
  float: left;
}
* #tab-bloc = ce tableau d'onglet / .tabs = conteneur des onglets */
#tab-bloc .tabs {
  text-align: center;
  margin-bottom: 5px;
  margin-top: 5px;
}
/* .tab = onglets */
#tab-bloc .tab {
  border-radius: 5px;
  border: none;
  margin: 0 20px;
  background: none;
}
/* .tab.selected = onglet sélectionné*/
#tab-bloc .tab.selected {
  background: #DEAEC3;
  box-shadow: 0 0 5px #333;
  color: #6E5A44;
  font-weight: bold;
  margin-top: 5px;
}
/* .tab img = image dans les onglets */
#tab-bloc .tab img {
  vertical-align: -3px;

}
/* #tab-staff = contenu associé à l'onglet staff */
#tab-staff {
  border-radius: 50px;
  border: 2px dashed #6E5A44;
  background: white
 
}

/* #tab-bienvenue = contenu associé à l'onglet bienvenue */
#tab-bienvenue {
  border-radius: 50px;
  border: 2px dashed #6E5A44;
  background: white
 
}
/* #tab-bienvenue marquee = le marquee dans l'onglet bienvenue */
#tab-bienvenue marquee {
  width: 400px;
  text-align: center;
}
/* #tab-regles = contenu associé à l'onglet règles */
#tab-regles ul  {
  border-radius: 50px;
  border: 2px dashed #6E5A44;
  background: white
}
/*FIN PA*/

/*DIV CLASS TITRE*/
.titre {
font-family: Georgia;
color: black;
text-shadow: black 0px 0px 5px;
font-size: 35px;
margin-left: 130px;
letter-spacing: -3px;
}

/*OMBRES*/
.statistiques a {text-shadow:#ffffff 0px 0px 3px;}
.row3 a {text-shadow:#ffffff 0px 0px 3px;}
.intercat {
  font-variant:small-caps;
  padding:2px;}
.name div span {text-shadow:#ffffff 1px 1px 1px;}
 
/*DESCRIPTIONS*/
.forum-description {
  background-image:url("http://obsession27.free.fr/divers/fonds/ba.gif");
  border-radius: 12px 12px 12px 12px;
  margin: auto;
  padding:10px;
  color:#000000;
  width:80%;
  font-size:10px;
  font-family:arial;
  text-align: justify;}
 
 
/*X SUJETS ET MESSAGES*/
.forum-stats{
  color:#000000;
  font-size:11px;
  font-style:italic;
  height:14px;
  padding:3px;
  text-align:center;
  width: 200px;
  font-family:candara;}
 
 
/*DERNIER MESSAGE*/
.lastm{
  background-image:url("http://obsession27.free.fr/divers/fonds/ba.gif");
  border-radius: 12px 12px 12px 12px;
  margin:auto;
  padding:10px;
  color:#000000;
  width:80%;
  font-size:10px;
  font-family:arial;
  text-align: center;}
 
 
/*SOUS FORUMS*/
.forum-sousforum {
  margin:auto;
  padding:4px;
  color:#000000;
  text-align:center;
  height:14px;
  font-size:11px;
  font-family:georgia;
  font-variant:small-caps;
  text-decoration: none;}

Voilà la bête Smile Merci pour votre aide Very Happy
avatar

Shtoum
Nouveau membre

Féminin
Messages : 24
Inscrit(e) le : 31/08/2012

http://skole.forumactif.com/
Shtoum a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Dr. Sam Sam 1 Sep 2012 - 0:13

Si tu remplace ce CSS pà la fin de ce que tu as déjà, est ce que cela règle on problème ?
Code:
.forumlink {
    -moz-text-blink: none;
    -moz-text-decoration-color: -moz-use-text-color;
    -moz-text-decoration-line: none;
    -moz-text-decoration-style: solid;
    color: #C785A2;
    position: absolute;
    margin-top: -30px;
Dr. Sam

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Shtoum Sam 1 Sep 2012 - 0:27

Cela marche parfaitement seulement ça a aussi engendré un autre petit problème.
Spoiler:
Le premier titre déborde sur le cadre du forum :/
avatar

Shtoum
Nouveau membre

Féminin
Messages : 24
Inscrit(e) le : 31/08/2012

http://skole.forumactif.com/
Shtoum a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Dr. Sam Sam 1 Sep 2012 - 0:34

Et si tu remplace tous ton template par cela:
Code:
        <table width="100%" border="0" cellspacing="0" 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="0" cellpadding="1">
        <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">
        <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">
<br />
        <div class="forum-description"><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}></div>
        <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
       
        <div class="forum-sousforum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
        <span class="gensmall">
        <!-- BEGIN switch_moderators_links -->
        {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
        <!-- END switch_moderators_links -->
       
        </span>
        </td>
        <!-- BEGIN forum_link_no -->
        <td class="row3 over" align="center" valign="middle" height="50">
        <div class="forum-stats">{catrow.forumrow.POSTS} messages, dans {catrow.forumrow.TOPICS} sujets.</div>
        <div class="lastm"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
        </td>
       
       
        <!-- END forum_link_no -->
        <!-- BEGIN forum_link -->
        <td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
        <!-- END forum_link -->
        </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 -->
Dr. Sam

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Aligner la description et la cellule dernier message.

Message par Shtoum Sam 1 Sep 2012 - 0:51

Oh merci c'est parfait. Merci beaucoup et bonne continuation Very Happy !
avatar

Shtoum
Nouveau membre

Féminin
Messages : 24
Inscrit(e) le : 31/08/2012

http://skole.forumactif.com/
Shtoum a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum