css colonne 3

2 participants

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

Résolu css colonne 3

Message par So-Mush Mer 4 Avr 2012 - 18:24

Bonjour !

Je voudrais ajouter un petit cadre aux infos se trouvant dans la colonne 3 de mon forum test, et je pensais pouvoir me servir du code css de mon forum actuel a savoir:

Code:
/*déco colonne 3*/
    .dermessage{
  background-color: #1A0F0F ;
  border: 1px dashed #FAF0C5;
  -moz-border-radius-topleft: 12px;
  -moz-border-radius-bottomright: 12px;
  -webkit-border-bottom-right-radius: 12px;
  -webkit-border-top-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-top-left-radius: 12px;
  padding: 7px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: -5px;
  text-align: center;
  height: 38px;
}

Mais celui-ci ne fonctionne pas Confused

J'ai rechercher dans mon template index-box ce que j'aurais pue utiliser d'autre comme code, j'ai notamment essayé "gensmall" mais ça n'influe pas.
Pouvez-vous me dire quelle code je dois utiliser s'il-vous plait ?


Dernière édition par So-Mush le Jeu 5 Avr 2012 - 13:58, édité 1 fois
So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par Anzu Mer 4 Avr 2012 - 20:03


Bonsoir,

Pourrait-on avoir votre template index box ?
Quand vous dites les infos de la colonne 3, vous parlez du titre du dernier sujet posté avec le nom de l'utilisateur concerné ?

Cordialement.
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par So-Mush Mer 4 Avr 2012 - 20:07

Oui je parle de ça, même si je n'ai pas fais afficher le titre je parle bien du l'utilisateur ainsi que la date du dernier post.

Voilà le template
Code:

        <table width="100%" border="0" cellspacing="-5" 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 width="768" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="none" /></td></tr></table>
        <table class="forumline" width="768" border="0" cellspacing="0" cellpadding="0">
          <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;"></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">
                        <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}>
                        <span class="genmed forumdesc">{catrow.forumrow.FORUM_DESC}</span>
                        <span class="forumforums">{catrow.forumrow.LINKS}</span>
                       
                    </td>
               
                    <td class="row3 over" align="center" valign="middle" height="50">
                        <span class="gensmall">{catrow.forumrow.LAST_POST}</span></br>
                      <span class="foruminfo">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets</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><table width="768" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="none" /></td></tr></table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par Anzu Mer 4 Avr 2012 - 20:14


C'est tout à fait normal que le css ne "fonctionne pas". L'id que vous avez mis ne renvoie à rien, il faut le rajouter dans le template.

Donc, la partie qui nous intéresse:

Code:
  <td class="row3 over" align="center" valign="middle" height="50">
                                <span class="gensmall">{catrow.forumrow.LAST_POST}</span>< /br>
                              <span class="foruminfo">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets</span>
                            </td>


Je ne sais pas exactement où vous voulez mettre les effets.
Remplacez déjà gensmall par dermessage.

J'ai remarqué quelques erreurs de balise dans votre template, vous devriez relire votre code Smile
(vérifiez vos table/tr/td/)

Cordialement.
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par So-Mush Mer 4 Avr 2012 - 20:44

J'ai essayé de faire ce que vous m'avez dit mais ça ne fonctionne pas Confused

Code:
<td class="row3 over" align="center" valign="middle" height="50">
                        <span class="dermessage.">{catrow.forumrow.LAST_POST}</span></br>
                      <span class="foruminfo">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets</span>
                    </td>
                </tr>

Pour le résultat que j'aimerais obtenir, je vous ai fait un screen du résultat sur mon forum actuellement

Spoiler:

Ah et pour les erreurs de balise vous parlez de ce que j'ai entouré en rouge sur le screen ou d'autre chose ?
Spoiler:
Je préfère demander car je ne suis pas une pro du html ^^
So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par Anzu Mer 4 Avr 2012 - 21:01


Vous m'avez donné le template index box actuel de votre forum ? Parce que je n'ai pas du tout la même chose sur mon forum test. (entres autres sujets et messages en dessous et non au dessus comme sur la capture)

Le changement de mon côté fonctionne (bon certes ce n'est pas tout à fait à l'endroit souhaité mais vous n'aviez pas encore précisé)

Edit: Pourrais je avoir la totalité de votre css si cela ne vous dérange pas ? (d'autres codes ont peut être interféré ..//Sous balises hide si vous préférez)



Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par So-Mush Mer 4 Avr 2012 - 21:21

Nan nan je vous ai passé le screen de mon vrai forum.
Cependant sur mon vrai forum j'ai mis "sujets et messages" au dessus, mais pour mon forum test je les ai mis en dessous.

Pour le template je vous ai passé celui de mon forum test.

Sinon pour moi ça ne marche pas, je peux vous remontrer:

dans ma feuille de style (de mon forum test) il y a ça:
Code:
/*déco colonne 3*/
          .dermessage {
          background-color: #1A0F0F ;
          border: 1px dashed #FAF0C5;
          -moz-border-radius-topleft: 12px;
          -moz-border-radius-bottomright: 12px;
          -webkit-border-bottom-right-radius: 12px;
          -webkit-border-top-left-radius: 12px;
          border-bottom-right-radius: 12px;
          border-top-left-radius: 12px;
          padding: 7px;
          padding-left: 10px;
          padding-right: 10px;
          margin-top: -5px;
          text-align: center;
          height: 38px;
        }

Le template (de mon forum test):
Code:
<td class="row3 over" align="center" valign="middle" height="50">
                                <span class="dermessage.">{catrow.forumrow.LAST_POST}</span></br>
                              <span class="foruminfo">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets</span>

Et le résultat (sur mon forum test):
Spoiler:
So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par Anzu Mer 4 Avr 2012 - 21:24

Vous avez mis un point après dermessage .. retirez le Mr. Green
Edit: oui j'ai mis un point dans mon message, mais c'était un point final Razz
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par So-Mush Mer 4 Avr 2012 - 21:31

Mince je pensais que ça faisais partit du code XD

Mais sinon j'ai un résultat, qui n'est pas celui voulue mais j'en ai un:
Spoiler:

Vous voulez peut être voir le template index box de mon vrai forum pour voir comment c'est fait sur celui là ?
So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par Anzu Mer 4 Avr 2012 - 21:42


Soit il faut diminuer la taille du texte(mettez un font size de 1,5 ca devrait régler problème, soit augmenter la largeur ^^
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par So-Mush Jeu 5 Avr 2012 - 13:58

Même avec cela ça ne fonctionne pas, je vais laisser mon idée en suspend.
Merci de votre aide ^^
So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par Anzu Jeu 5 Avr 2012 - 14:25


Bonjour,

Si cela fonctionne chez moi, cela doit fonctionner chez vous.
Pourrais-je avoir votre template avec les dernières modifications demandées plus haut ?

J'avais également demandé l'intégralité de votre css.

Cordialement.
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par So-Mush Jeu 5 Avr 2012 - 14:50

Oh je suis vraiment désolée je n'avais pas vue le premier édit: Embarassed

Biensur voilà tout de suite mon template avec le changement et mon css:

Code:
 
Template       
                <table width="100%" border="0" cellspacing="-5" 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 width="768" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="none" /></td></tr></table>
                <table class="forumline" width="768" border="0" cellspacing="0" cellpadding="0">
                  <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;"></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">
                                <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}>
                                <span class="genmed forumdesc">{catrow.forumrow.FORUM_DESC}</span>
                                <span class="forumforums">{catrow.forumrow.LINKS}</span>
                             
                            </td>
                     
                            <td class="row3 over" align="center" valign="middle" height="50">
                                <span class="dermessage">{catrow.forumrow.LAST_POST}</span>
                              <span class="foruminfo">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets</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><table width="768" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="none" /></td></tr></table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

css:
Code:
 
 /* LIENS DU FORUM */
        a:link {text-decoration: none;}
        a:hover{text-decoration: none !important;}
        a { text-decoration: none; }
        a:link { text-decoration: none; }
        a:hover { text-decoration: none; }       
                       
                /* IMAGE DU HAUT DES CATEGORIES */
                .secondarytitle {
                background-image: none;
                background-repeat: no-repeat;}
             
                /* CITATIONS */
                .quote{
                font-family: Tahoma;
                font-size: 12px;
                color: #ffffff;
                line-height: 125%;
                background-color: #997abc;
                border: #997abc;
                border-style: solid;
                border: 1px #997abc;
                dotted;
                border-left-width: 1px;
                border-top-width: 1px;
                border-right-width: 1px;
                border-bottom-width: 1px;
                -moz-border-radius:6px;}
             
                /* CITATIONS DE CODE */
                .code{
                color: #802525;
                background-color: #ffffff;
                border: #Ffffff;
                border-style: solid;
                border-left-width: 1px;
                border-top-width: 1px;
                border-right-width: 1px;
                border-bottom-width: 1px
                border: 1px #Ffffff;
                -moz-border-radius:6px;}       
             
        /* CURSEUR DU FORUM */
        { cursor: url(http://www.patmax.eu/C1/111206223933.cur), auto; }
        a { cursor: url(http://www.patmax.eu/C1/111206223933.cur), auto; }
                                 
        /* LIENS DU TITRE DES FORUMS */
                .forumlink {
                font-size:25px;
                margin-left:0px;
                margin-top:10px;
                font-weight:bolder;
                word-spacing:3px;
                text-align:left;
                display:10px;
                font-family:Arial black;
                text-shadow: 0px 0px 1px red;
                color:#ffffff; }
             
           
             
        .descript {
        font-family: courier;
                font-size: 12px;
                color: #161616;
                line-height: 125%;
                background-image: url("http://img11.hostingpics.net/pics/151137zoneinfoback.jpg");
                background-repeat: repeat-x;
                border: #161616;
                border-style: solid;
                border: 5px #614A4A solid; /*dotted*/
                border-left-width: 0px;
                border-top-width: 0px;
                border-right-width: 3px;
                border-bottom-width: 3px;
          -webkit-border-bottom-right-radius: 20px;
          -webkit-border-bottom-left-radius: 20px;
          -webkit-border-TOP-right-radius: 0px;
          -webkit-border-TOP-LEFT-radius: 0px;
          -MOZ-border-bottom-right-radius: 20px;
          -MOZ-border-bottom-left-radius: 20px;
          -MOZ-border-TOP-right-radius: 0px;
          -MOZ-border-TOP-LEFT-radius: 0px;
          border-bottom-right-radius: 20px;
          border-bottom-left-radius: 20px;
          border-TOP-right-radius: 0px;
          border-TOP-LEFT-radius: 0px;
                border-top : 5px solid #fffff;
                border-bottom: 5px solid #000000;
                margin-left: 0px
                margin-top: -3px;
                height : 40px;
  width : 50px;}
           
           
             
             
             
        /* pied de page mentions légales*/
        #page-footer a{
        color: #FAF0C5 ;
        font-size: 10px;
        font-family: Verdana, sans-serif;
        position:center;}
       
       
       
        /*avatar centré */
        div.infos_posteur{
          width:155px;
          margin:auto;
          text-align:center;
          background-color:#1A0F0F;
          border:2px solid #7D7D74; /*dashed code bord pointillés*/
          border-radius: 30px 30px 30px 30px;
          background-position: center;
          padding-bottom: 10px;}
       
        .bodyline {
                border-right: 5px solid #FAF0C5;
                border-left: 5px solid #FAF0C5;
                border-top: 0px solid #FAF0C5;
                border-bottom: 0px solid #FAF0C5;
                background-color: #000000;
                padding-left:0px;
                padding-right:0px;}
                   
       
        body{
        margin-top: -15px;
        margin-bottom: -15px;
        text-shadow: #ffffff 0px 1px 0px;}
       
        .navig {
        font-family: franklin gothic book;
        font-size: 6px;
        font-position: 2px;
        position: absolute;
        top: 0px;
        width: 100%;
        background-image: url("http://i43.servimg.com/u/f43/15/43/77/74/navbar10.png");
        background-repeat: repeat-x;
        left: 0px;
        right: 0px;}
       
        .forumline{
        margin: auto;
        background-repeat: repeat-y repeat-x;
        background-color: #161616;}

/*déco colonne 3*/
            .dermessage {
          font-family: courier;
          font-size: 1,5px;
          background-color: #1A0F0F ;
          border: 1px dashed #FAF0C5;
          -moz-border-radius-topleft: 12px;
          -moz-border-radius-bottomright: 12px;
          -webkit-border-bottom-right-radius: 12px;
          -webkit-border-top-left-radius: 12px;
          border-bottom-right-radius: 12px;
          border-top-left-radius: 12px;
          padding: 7px;
          padding-left: 10px;
          padding-right: 10px;
          margin-top: 20px;
          text-align: center;
          height: 20px;
        }
So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par Anzu Jeu 5 Avr 2012 - 16:06

Alors remplacez votre template par celui ci:

Code:
   
    Template     
                    <table width="100%" border="0" cellspacing="-5" 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 width="768" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="none" /></td></tr></table>
                    <table class="forumline" width="768" border="0" cellspacing="0" cellpadding="0">
                      <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;"></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">
                                    <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}>
                                    <span class="genmed forumdesc">{catrow.forumrow.FORUM_DESC}</span>
                                    <span class="forumforums">{catrow.forumrow.LINKS}</span>
                               
                                </td>
                       
                                <td class="row3 over" align="center" valign="middle" height="50">
                                    <div class="dermessage">{catrow.forumrow.LAST_POST}</div>
                                  <span class="foruminfo">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets</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><table width="768" border="0" cellspacing="0" cellpadding="0"><tr><td><img src="none" /></td></tr></table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

J'ai remplacé le span par un div, étant donné que le span n'englobe que le texte et non l'unité.

Pour le css, remplacez ceci:

Code:
/*déco colonne 3*/
            .dermessage {
          font-family: courier;
          font-size: 1,5px;
          background-color: #1A0F0F ;
          border: 1px dashed #FAF0C5;
          -moz-border-radius-topleft: 12px;
          -moz-border-radius-bottomright: 12px;
          -webkit-border-bottom-right-radius: 12px;
          -webkit-border-top-left-radius: 12px;
          border-bottom-right-radius: 12px;
          border-top-left-radius: 12px;
          padding: 7px;
          padding-left: 10px;
          padding-right: 10px;
          margin-top: 20px;
          text-align: center;
          height: 20px;
        }

Par:

Code:
    /*déco colonne 3*/
                .dermessage {
              font-family: courier;
              background-color: #1A0F0F ;
              border: 1px dashed #FAF0C5;
              -moz-border-radius-topleft: 12px;
              -moz-border-radius-bottomright: 12px;
              -webkit-border-bottom-right-radius: 12px;
              -webkit-border-top-left-radius: 12px;
              border-bottom-right-radius: 12px;
              border-top-left-radius: 12px;
              padding: 7px;
              padding-left: 10px;
              padding-right: 10px;
              margin-top: 20px;
              text-align: center;
            }

Dites moi si c'est mieux de votre côté, sur mon forum test, c'est bon Smile

Cordialement.
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: css colonne 3

Message par So-Mush Jeu 5 Avr 2012 - 16:21

Super ça fonctionne !! Very Happy
J'ai même très bien retenue la leçon car pour modifier "messages sujets"
je suis allé voir dans le template j'ai pris "foruminfo"

j'ai rajouté ça dans ma feuille de style css:
Code:
.foruminfo{
  font-family: courier;
  font-size: 10px;
}
       

et ça marchait super bien ^^

Je vous remercie pour cette précieuse aide !! Yes
So-Mush

So-Mush
****

Féminin
Messages : 332
Inscrit(e) le : 09/01/2010

http://freak-muse.forumactif.com/
So-Mush 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