Agrandir la colonne "dernier message"

2 participants

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

Résolu Agrandir la colonne "dernier message"

Message par Keith8D Mer 23 Fév 2011 - 20:01

Bonjours \o/
Voila mon problème: Agrandir la colonne "dernier message" 308132l

J'aimerais que tout tienne en une ligne comme sur le "dernier message" du dessus, je pense que le plus simple serait d'élargir la colonne. Mais la question est: comment faire? D8

Si quelqu'un pouvait m'éclairer~ o/
Keith8D

Keith8D
***

Masculin
Messages : 130
Inscrit(e) le : 08/01/2011

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

Résolu Re: Agrandir la colonne "dernier message"

Message par Anzu Jeu 24 Fév 2011 - 16:48


Bonjour,

Il me faudrait le code de votre template index box et 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: Agrandir la colonne "dernier message"

Message par Keith8D Jeu 24 Fév 2011 - 16:57

Pas de soucis \o/

Voici le 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 --><table class="forumline" width="100%" 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}" 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"><br>
            <span class="forumlink">
              <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
        </h{catrow.forumrow.LEVEL}>
<div class="cadrerose" style="margin-left:auto;margin-right:auto;">
        <p class="gensmall">{catrow.forumrow.FORUM_DESC}</p></div>
        <span class="gensmall">
<br ></br >
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
          <div align="right" style="padding-right:10px;"> {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div><br><br>
        </span>
      </td>
      
      <td class="row3 over" align="center" valign="middle" height="50"><table><tr><td>
<div class="stats"><span class="gensmall">{catrow.forumrow.POSTS} complots | {catrow.forumrow.TOPICS} dossiers</span></div></td></tr>
            <tr><td><div class="dermessage"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div></td></tr></table>
        </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="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

et le css:
Code:
/*titres des forums*/
a.forumlink{
font-variant:small-caps;
font-weight: bold;
background :#463B2F;
color : #ffffff;
text-shadow: 2px 2px 3px #000;
display:block;
text-align: center;
font-size: 17px;
text-decoration:none !important;
}

.cadrerose {border:2px solid #8C8253;
background-color:#000000;
-moz-border-radius: 10px 0px 10px 0px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;width:550px;
text-align: center;}

.stats{
color : #000000;
  background-color: #463B2F ;
  -moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright:5px;
-moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
  padding: 1px;
  text-align: center;}

.dermessage{
  background-color: #000000;
  border: 3px solid #8C8253;
  -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: 3px;
  text-align: center;}
Keith8D

Keith8D
***

Masculin
Messages : 130
Inscrit(e) le : 08/01/2011

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

Résolu Re: Agrandir la colonne "dernier message"

Message par Keith8D Lun 28 Fév 2011 - 14:00

Up? ._.
Keith8D

Keith8D
***

Masculin
Messages : 130
Inscrit(e) le : 08/01/2011

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

Résolu Re: Agrandir la colonne "dernier message"

Message par Anzu Lun 28 Fév 2011 - 21:12

Bonsoir,

Désolée pour le retard

Voilà l'index box 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="forumline" width="100%" 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="200"><div style="width:200px;">{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">
            <h{catrow.forumrow.LEVEL} class="hierarchy"><br>
                <span class="forumlink">
                  <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
                </span>
            </h{catrow.forumrow.LEVEL}>
    <div class="cadrerose" style="margin-left:auto;margin-right:auto;">
            <p class="gensmall">{catrow.forumrow.FORUM_DESC}</p></div>
            <span class="gensmall">
    <br ></br >
                <!-- BEGIN switch_moderators_links -->
                {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                <!-- END switch_moderators_links -->
              <div align="right" style="padding-right:10px;"> {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div><br><br>
            </span>
          </td>
         
          <td class="row3 over" align="center" valign="middle" height="50" style="min-width: 150px;"><table width="100%"><tr><td>
    <div class="stats"><span class="gensmall">{catrow.forumrow.POSTS} complots | {catrow.forumrow.TOPICS} dossiers</span></div></td></tr>
                <tr><td><div class="dermessage"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div></td></tr></table>
            </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="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

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: Agrandir la colonne "dernier message"

Message par Keith8D Lun 28 Fév 2011 - 21:57

Pas de soucie, merci beaucoup o/
Pourrais-tu me montrer quelle partie du code tu as changé stp?
J'aimerais pouvoir le refaire moi même si l'occasion se présente :)
Keith8D

Keith8D
***

Masculin
Messages : 130
Inscrit(e) le : 08/01/2011

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

Résolu Re: Agrandir la colonne "dernier message"

Message par Anzu Lun 28 Fév 2011 - 22:16

Cette partie =>

Code:
<th nowrap="nowrap" width="200"><div style="width:200px;">{L_LASTPOST}</div></th>

^^
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: Agrandir la colonne "dernier message"

Message par Keith8D Lun 28 Fév 2011 - 22:22

Merci~
Keith8D

Keith8D
***

Masculin
Messages : 130
Inscrit(e) le : 08/01/2011

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

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


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