Supprimer la cellule de row1

3 participants

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

Résolu Supprimer la cellule de row1

Message par Brotherhood Ven 3 Aoû - 23:32

Bonsoir,

Voila, j'aimerai faire en sorte qu'on ne voit plus la case de la cellule codée "row1", qui comporte habituellement l'image de new/old message. En effet, j'ai déplacé l'image new/old totalement sur la droite, par dessus la cellule "dernier message".
Mais du coup, il me reste une grosse casse vide sans image.

En modifiant le CSS, j'ai essayé de réduire à 1px la largeur de la cellule, ce qui rend un résultat convenable mais... Cela n'a affecté que la première catégorie ? (http://brotherhood.forumactif.fr/ comparez les deux catégories exemples pour comprendre, j'ai rajouté un fond blanc à la cellule pour bien différencier)

Pourquoi et comment y remédier ?

Voici ce que j'ai appliqué au CSS aux différentes cellules :

Code:
td.row3.over
{
  background-image:url(http://cdn1.iconfinder.com/data/icons/Dunking/48/Donut.png);
  background-repeat: no-repeat;
  background-position:right;
  -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        border-radius: 20px;
}

td.row1.over
{
  background-image:url(http://img15.hostingpics.net/pics/633008cadrepng.png);
  background-repeat: no-repeat;
  background-position:left;
  height: 250px;
}

td.row1
{
background-color:#ffffff;
  width:1px;
}

td.row3
{
  background-image:url(http://img15.hostingpics.net/pics/613361fondcategorie.jpg);
  background-repeat: no-repeat;
}

Je suis actuellement sous Firefox

Merci d'avance :thanks:


Dernière édition par Brotherhood le Dim 5 Aoû - 22:40, édité 1 fois
Brotherhood

Brotherhood
**

Féminin
Messages : 83
Inscrit(e) le : 21/05/2008

http://brotherhood.forumsactifs.com
Brotherhood a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer la cellule de row1

Message par tupac Sam 4 Aoû - 0:38

Bonsoir

Il faut retirer la ligne (TD) de l'emplacement new/old du template index_box et modifier ou rajouter un COLSPAN.

Si vous voulez que je jête un oeil au template vous pouvez me le poster entre les balises codes comme ceci.

Code:
[code] template [/code]
tupac

tupac
Membre actif

Masculin
Messages : 2551
Inscrit(e) le : 13/10/2010

http://codactif.monalliance.com/
tupac a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer la cellule de row1

Message par Brotherhood Dim 5 Aoû - 16:13

Merci pour la réponse, voici mon template :

Code:
        <!-- 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 --><center><div class="titrecat">{catrow.tablehead.L_FORUM}</div></center><DIV CLASS="fond_forumline"><table class="forumline" width="98%" border="0" cellspacing="1" cellpadding="0">
  <!-- 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="80%">
        <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>
          <img src="http://img11.hostingpics.net/pics/529147titre1.png">
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
 
  <!-- END cathead -->
  <!-- BEGIN forumrow -->
  <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="98"><img src="{SPACER}" height="94" width="98" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
       
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" 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><br />
            </span>
        </h{catrow.forumrow.LEVEL}>
        <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 -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
        </span>
      </td>
       
          <!-- BEGIN forum_link_no -->
      <td class="row3 over" align="center" valign="middle" height="50" width="20%">
                <span class="gensmall">{catrow.forumrow.LAST_POST} <br /><br /> <br /> <br /> <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></span>
               
        <span class="gensmall"><b>{catrow.forumrow.TOPICS}</b> sujets <b>&</b> <b>{catrow.forumrow.POSTS}</b> messages</span><br/><br/></td>
          <!-- END forum_link_no -->
       
  <!-- 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></div><center><img src="http://img15.hostingpics.net/pics/754845bascat.jpg" alt="" /></center><!-- END tablefoot --><!-- END catrow -->
Brotherhood

Brotherhood
**

Féminin
Messages : 83
Inscrit(e) le : 21/05/2008

http://brotherhood.forumsactifs.com
Brotherhood a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer la cellule de row1

Message par tupac Dim 5 Aoû - 17:29

Voila, la cellule a été supprimée.

Spoiler:
tupac

tupac
Membre actif

Masculin
Messages : 2551
Inscrit(e) le : 13/10/2010

http://codactif.monalliance.com/
tupac a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Supprimer la cellule de row1

Message par Anzu Dim 5 Aoû - 17:48

Supprimer la cellule de row1 Check10Bonjour,

Afin de faciliter la gestion des problèmes, si votre problème est résolu, pensez à :
  • éditer votre premier message,
  • cocher l'icône résolu
  • Et enregistrer en cliquant sur Supprimer la cellule de row1 Envoi10


Vous pouvez également remercier les personnes qui vous ont aidé, en cliquant sur le bouton Supprimer la cellule de row1 50378

A bientôt sur ForumActif Smile
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 la cellule de row1

Message par Brotherhood Dim 5 Aoû - 22:40

Merci beaucoup, c'est parfait, le problème est résolu !
Brotherhood

Brotherhood
**

Féminin
Messages : 83
Inscrit(e) le : 21/05/2008

http://brotherhood.forumsactifs.com
Brotherhood 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