supprimer définitivement colonne derniers messages

2 participants

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

Résolu supprimer définitivement colonne derniers messages

Message par Meblang Sam 9 Mar 2013 - 21:55

Bonjour,

premièrement, je vous remercie de prendre le temps de lire ma demande. Ce n'est certainement pas le plus gros des problèmes, mais il est très désagréable à l'oeil ^^

J'ai codé une nouvelle mise en page pour les catégories de mon forum, mais malheureusement, il y a une colonne à droite qui persiste. J'ai bien beau chercher, je ne trouve pas la partie me permettant de l'éliminer (voir ici) et voici mon template.

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 --><img src="http://i45.tinypic.com/2jer4hz.png"/><table class="forumline" width="750px" 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="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">
         <div style="width:150px;"><div class="boxcatego">
            <div class="tourne"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></div>
           
                  <span class="gensmall">{catrow.forumrow.LAST_POST}</span><br>....................<br>
            <span class="gensmall">{catrow.forumrow.TOPICS} rumeurs △ {catrow.forumrow.POSTS} secrets</span><br></div></div>
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <div align="center"><span class="forumlink">
               <div class="boxcatego"><a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
                                  </span></div>
                                  </h{catrow.forumrow.LEVEL}>
                          <div class="categoriedescription"><div align="center">............................</div><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></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="http://i49.tinypic.com/1zwn5lw.png"/><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Je ne cherche qu'à enlever la section vide à droite (le carré vide aux côtés de ma description de catégorie)

Merci de votre aide et bonne journée Mr. Green



Dernière édition par Meblang le Sam 9 Mar 2013 - 22:23, édité 1 fois
avatar

Meblang
**

Messages : 52
Inscrit(e) le : 09/03/2013

http://universitylife.nice-forums.net/
Meblang a été remercié(e) par l'auteur de ce sujet.

Résolu Re: supprimer définitivement colonne derniers messages

Message par Anzu Sam 9 Mar 2013 - 22:15

Bonjour et Bienvenue
sur le Forum des Forums ForumActif
Vu que vous êtes nouveau, voici quelques sujets importants :
supprimer définitivement colonne derniers messages Attention2 Sécurité : Mail de fondation - Ce qu'il ne faut pas faire
supprimer définitivement colonne derniers messages Fleche10Listing - Questions/Réponses fréquentes
supprimer définitivement colonne derniers messages Fleche10Listing - Trucs et astuces
supprimer définitivement colonne derniers messages Fleche10 La fonction Rechercher
supprimer définitivement colonne derniers messages Fleche10 La FAQ de Forumactif.com

N'hésitez pas à ouvrir un nouveau sujet si vous ne trouvez pas votre réponse Wink


Bonsoir,

Remplacez votre template par:

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 --><img src="http://i45.tinypic.com/2jer4hz.png"/><table class="forumline" width="750px" border="0" cellspacing="1" cellpadding="0">
          <tr><th colspan="4" 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}">{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">
                <div style="width:150px;"><div class="boxcatego">
                    <div class="tourne"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></div>
                 
                          <span class="gensmall">{catrow.forumrow.LAST_POST}</span><br>....................<br>
                    <span class="gensmall">{catrow.forumrow.TOPICS} rumeurs △ {catrow.forumrow.POSTS} secrets</span><br></div></div>
              </td>
              <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
                <div align="center"><span class="forumlink">
                      <div class="boxcatego"><a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
                                          </span></div>
                                          </h{catrow.forumrow.LEVEL}>
                                  <div class="categoriedescription"><div align="center">............................</div><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></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="http://i49.tinypic.com/1zwn5lw.png"/><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Ce th était à retirer:

Code:
 <th nowrap="nowrap" width="150"><div style="width:150px;"></div></th>
Et il fallait modifier la valeur du colspan.

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: supprimer définitivement colonne derniers messages

Message par Meblang Sam 9 Mar 2013 - 22:23

Ça fonctionne, merci beaucoup Anzu Mr. Green
avatar

Meblang
**

Messages : 52
Inscrit(e) le : 09/03/2013

http://universitylife.nice-forums.net/
Meblang 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