Catégories

2 participants

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

Résolu Catégories

Message par angepandora Lun 15 Aoû - 16:23

Bonjours

Après m'être essayé à faire plein de chose sur mon forum de test. Je me prends la tête. Voilà j'ai modifié l'affichage des catégories, (http://testdesign.newforumpro.com/ pour que vous puissiez voir) hors je ne sais pas pourquoi, les liens des sous forums se mettent collés aux titres.

Ce que je veux c'est assez simple, si quelqu'un peu m'aider, recentrer le titre de ma catégorie genre premier forum en centre
et en dessous le liens vers les sous forums.

voici mon css

Code:
body {
background-image: url("http://i42.servimg.com/u/f42/15/02/26/34/sans_t11.jpg");
  background-color: #000000;
  background-attachment: no-fixed;
background-repeat:no-repeat;
    background-position: center;
  height:500px; }

/* arrondis des zones de textes by BestRPG */
input,textarea, select {border-radius: 10px; }

/* personnalisations des titres by BestRPG */
.accueilperso {
width: 200px;
background-color :#1f1a15;
text-align: center;
font-family:Verdana;
font-size: 12px;
color:#3D3834;}

.statistiques{
border:0px;
background-image: url("http://i43.servimg.com/u/f43/11/23/68/10/ki12.jpg");
background-repeat: no-repeat;
background-position: center;
height:270px;}

a.mainmenu:link, a.mainmenu:visited{
margin-left : 6px;
margin-right : 6px;
font-family :Georgia;
color: #3D3834;
background-color: #000000;
text-align:left;
border-left: 6px solid #1f1a15;
border-right: px solid #1f1a15;}

.groupes{
background-color:#000000;border: 1px #D0D0D0 dotted;
-moz-border-radius : 5px 5px 5px 5px;
height:40px;padding-right:12px;padding-left:14px;padding-bottom:3px;
font-size:15px;font-weight: bold;text-align:center;
text-decoration: none !important;}


body { cursor: crosshair }
a:hover { cursor:ne-resize; }

.postdetails.poster-profile a img{
border : 1px solid #453C41;
-moz-border-radius: 40px ;
-webkit-border-radius:40px;
-border-radius:40px;
-khtml-border-radius:40px;
padding : 5px;
}


.profilentour{
      background: #000000;
      border: 2px solid #453C41;
      padding: 10px;
      text-align: center;
      -moz-border-radius: 10px; /* les coins en arrondis*/
      font-family:;
      font-size:;
}

/*derniers messages*/
    .forum-stats {
          -moz-border-radius: 20px;
          webkit-border-radius: 20px;
          border-radius: 20px;
          border: 1px solid #000;
          font-size: 11px;
          padding: 3px;
          text-align: center;
          background-color: #000000;
          }

Voici mon template Index box
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}

         {CURRENT_TIME}

         </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>

         <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>

         <!-- 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">
            <span class="forumlink">
              <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

            </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>
      
      <td class="row3 over" align="center" valign="middle" height="50">
        <span class="gensmall">{catrow.forumrow.POSTS} messages dans {catrow.forumrow.TOPICS} sujets.</span>

<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </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 -->

Merci d'avance Wink


Dernière édition par angepandora le Lun 15 Aoû - 17:48, édité 1 fois
angepandora

angepandora
***

Messages : 191
Inscrit(e) le : 24/04/2008

http://chroniqueambrosia.forumactif.org/
angepandora a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Catégories

Message par Lucas J.Adamson Lun 15 Aoû - 16:52

Bonjours,
Vous voulez que le nom de votre catégorie (dans se cas 1ére catégorie) sois centré mais par rapport aux nom du forum de dessous c'est cela?

Cordialement.
Lucas J.Adamson

Lucas J.Adamson
***

Messages : 173
Inscrit(e) le : 03/08/2011

http://pension-okaru.fra.co
Lucas J.Adamson a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Catégories

Message par angepandora Lun 15 Aoû - 17:44

Exactement ^^

Merci à vous le probléme est résolu
angepandora

angepandora
***

Messages : 191
Inscrit(e) le : 24/04/2008

http://chroniqueambrosia.forumactif.org/
angepandora 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