Mettre un espace entre les catégories

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

Résolu Mettre un espace entre les catégories

Message par IamsBeck Mar 29 Juin 2010 - 10:16

bonjour, je reviens vers vous car je n'arrive pas à trouver mon bonheur. Une petite image pour expliquer mon problème
Mettre un espace entre les catégories Aide10

Sur mon forum les catégories sont collées les une aux autres et j'aimerai les séparer comme ce qu'on voit ici sur FA et sur d'autres forums afin que se soient plus compréhensibles
J'aurai besoin de connaître le code et savoir aussi où le placer si c'est dans le CSS ou dans les templates
Merci pour votre aide

Style forum : PUNBB
CSS modifié pour changer et centrer les catégories et également pour mettre une couleur de fond pour les citations
Template un peu modifier au niveau de l'index body


Dernière édition par IamsBeck le Mer 30 Juin 2010 - 11:41, édité 1 fois
IamsBeck

IamsBeck
**

Féminin
Messages : 88
Inscrit(e) le : 01/07/2009

http://princeofmokai.com/
IamsBeck a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mettre un espace entre les catégories

Message par IamsBeck Mar 29 Juin 2010 - 16:59

Sorry pour le double post. Voilà, j'ai trouvé ce code pour la séparation des catégories en PHBB mais lorsque je l'utilise sur mon forum, il déconne complètement. si quelqu'un pouvait le modifier, cela serait gentil
Code:

<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
 <tr>
  <th colspan="2" class="thCornerL" height="25" nowrap="nowrap"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></th>
  <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
  <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
  <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
 </tr>
 <!-- BEGIN forumrow -->
 <tr>
  <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="60" height="100" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
  <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
    </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
    </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
  <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
  <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
  <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
 </tr>
 <!-- END forumrow -->
</table>
<br clear="all" style="line-height:10px;" />
 <!-- END catrow -->

Je vous mets le code de mon Index_box
Code:
<div class="pun-crumbs">
   <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
   <!-- BEGIN tablehead -->
      <div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <thead>
               <tr>
                  <th class="tcl">{L_FORUM}</th>
                  <th class="tc2">{L_TOPICS}</th>
                  <th class="tc3">{L_POSTS}</th>
                  <th class="tcr">{L_LASTPOST}</th>
               </tr>
            </thead>
            <tbody class="statused">
   <!-- END tablehead -->
   <!-- BEGIN forumrow -->
               <tr>
                  <td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
                     <span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                     </span>
                     <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                     <br />
                     {catrow.forumrow.FORUM_DESC}
                     <!-- BEGIN switch_moderators_links -->
                     <br />
                     {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                     <!-- END switch_moderators_links -->
                     {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                     <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                  <td class="tc2">{catrow.forumrow.TOPICS}</td>
                  <td class="tc3">{catrow.forumrow.POSTS}</td>
                  <td class="tcr">{catrow.forumrow.LAST_POST}</td>
               </tr>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
            </tbody>
         </table>
      </div>
   <!-- END tablefoot -->
</table>
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->
IamsBeck

IamsBeck
**

Féminin
Messages : 88
Inscrit(e) le : 01/07/2009

http://princeofmokai.com/
IamsBeck a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mettre un espace entre les catégories

Message par IamsBeck Mer 30 Juin 2010 - 10:44

Quelqu'un pour m'aider parce que là je patauge dans la choucroute, svp ?
IamsBeck

IamsBeck
**

Féminin
Messages : 88
Inscrit(e) le : 01/07/2009

http://princeofmokai.com/
IamsBeck 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