Supprimer la première colonne ?

2 participants

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

Résolu Supprimer la première colonne ?

Message par Serleena Mer 21 Mai 2014 - 0:47

Bonjour !  I love you 

Je viens faire appel à vos talents pour un élément dont je n'arrive pas à me débarrasser, ce qui me trouble ! x) Voilà, nous avons déplacé les boutons nouveau/ancien/verrouillé des catégories dans la cellule derniers messages, juste au-dessus, et la première colonne est donc vide. Seulement, impossible de trouver comment la supprimer, jusqu'ici nous n'avons réussi qu'à la réduire !
Je ne sais pas si je suis explicite alors voici l'image : http://nimga.fr/f/7QvkW.png Tout à droite on devine bien une petite cellule (le trait fin à côté de la bordure), c'est ce que je voudrais retirer. Sinon je suis fondatrice, le forum est sous phpbb2 et j'utilise Chrome.
Le template index_box a bien sûr été modifié :

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 --><table class="haut_cate"><tr valign="center"><td>{catrow.tablehead.L_FORUM}</td></tr></table><div class="milieu_cate"><table class="forumline" width="800px" align="center" 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;">{L_LASTPOST}</div></th>
   </tr>
   <!-- END tablehead -->
   <!-- BEGIN cathead -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.cathead.inc.INC_CLASS} index_cate" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="{catrow.cathead.CLASS_CAT} index_cate" 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 index_cate}" colspan="3" align="right"> </td>
   </tr>
   <!-- END cathead -->
   <!-- BEGIN forumrow -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS} index_cate" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS} index_cate" align="center" valign="middle">
        
     <td class="row1 over index_cate" 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}><table width="100%"><tbody><tr><td style="padding-left: 40px; text-align: right;" class="gensmall">Messages:{catrow.forumrow.POSTS} | | Sujets:{catrow.forumrow.TOPICS} </td></tr></tbody></table><center><span class="gensmall">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span></center><br />
         <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         <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>
      <td class="row3 over index_cate" align="center" valign="middle" height="50"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
         <span class="gensmall"><div class="lastm">{catrow.forumrow.LAST_POST}</div></span>
      </td>
   </tr>
   <!-- END forumrow -->
   <!-- BEGIN catfoot -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.catfoot.inc.INC_CLASS} index_cate" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN} index_cate" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
   </tr>
   <!-- END catfoot -->
   <!-- BEGIN tablefoot -->
</table></div><table class="bas_cate"><tr valign="center"><td> </td></tr></table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Et le css a également été modifié, si besoin je peux également le copier/coller !

Voilà, un grand merci d'avance ~


Dernière édition par Serleena le Ven 23 Mai 2014 - 10:11, édité 1 fois
Serleena

Serleena
Nouveau membre

Messages : 12
Inscrit(e) le : 18/04/2014

http://hannibal-rpg.forumactif.org/
Serleena a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer la première colonne ?

Message par Serleena Ven 23 Mai 2014 - 0:01

Up ? ~
Serleena

Serleena
Nouveau membre

Messages : 12
Inscrit(e) le : 18/04/2014

http://hannibal-rpg.forumactif.org/
Serleena a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer la première colonne ?

Message par Neptunia Ven 23 Mai 2014 - 2:21

Bonjour, et bienvenue sur le Forum des Forums Forumactif


A la ligne 46 de ton template tu as une cellule ( <td> ) ouverte mais jamais refermée. D'où un problème de courant d'air.

Ca tombe bien, c'est justement cette cellule qu'il fallait enlever.

Right Supprimer cette ligne 46
Code:
<td class="{catrow.forumrow.INC_CLASS} index_cate" align="center" valign="middle">

Right Au niveau de l'entête de catégorie (lignes 21 à 24) remplacer :
Code:
  <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>
par :
Code:
  <tr>
      <th 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>
On supprime le colspan qui ne sert plus à rien.
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer la première colonne ?

Message par Serleena Ven 23 Mai 2014 - 10:12

Wow ! *-* Un grand grand merci à toi Neptune, je ne m'en sortais pas du tout, tu me sauves ! C'est parfait, merci encore  I love you
Serleena

Serleena
Nouveau membre

Messages : 12
Inscrit(e) le : 18/04/2014

http://hannibal-rpg.forumactif.org/
Serleena 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