derniers messages hors de la catégorie

2 participants

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

Résolu derniers messages hors de la catégorie

Message par nyly* Mer 4 Avr 2012 - 14:37

Bonjour tout le monde ^^

Voilà j'ai un petit soucis avec mon code pour les catégories ^^ J'ai mis une image en haut et en bas de chaque caté, et modifié la dernière colonne grace à un membre du forum ici ^^. Malheureusement, comme vous pouvez le voir Sur mon forum qui est encore en construction, le cadre des derniers messages postés, n'apparait pas sur le fond de mes catégories.

Quelqu'un saurait comment arranger çà?

Voici mon CSS:
Code:
body{
background-image: url(http://i47.servimg.com/u/f47/17/37/57/79/bann_110.jpg), url(http://i47.servimg.com/u/f47/17/37/57/79/fond11.jpg);
background-color: none;
background-repeat: no-repeat, repeat;
background-position: top center, center;
background-attachment: scroll;
}

 /*TITRES ET AUTRES*/
       

.titres
{background-color: #6B6B6B;
color: silver;
text-align: left;
font-family: georgia;
font-size: 20px;
  letter-spacing: 2px;
line-height: 15px; }

.soustitres
{background-color: grey;
color: blue;
text-align: left;
font-family: georgia;
font-size: 15px;
  letter-spacing: 2px;
line-height: 15px; }

 .annonce
{width:500px;
  Height: auto;
  background-color:silver;
  border-top: 3px solid #6B6B6B;
  border-bottom: 3px solid #6B6B6B;
  color: grey;
  text-align: justify;
}

 

.citation
{font-family:Georgia;
  Text-shadow: 1px 1px 2px white;
  letter-spacing:-1px;
  color:grey;
font-size:20px;}


/******PROFIL********/

.postdetails.poster-profile a img {
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
-moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
border: 2px solid grey;
background-image:url('http://i49.servimg.com/u/f49/15/49/49/31/gr1310.jpg');
  background-repeat: repeat;
}


.contour nom {
background-image:url('http://i49.servimg.com/u/f49/15/49/49/31/gr1310.jpg');
  background-repeat: repeat;
border: 2px solid #F3F3F0;

text-shadow: #ffffff 1px 1px 1px;
font-family: serif bold sc;
letter-spacing: -1px;
}



/******feuille perso********/
.input, textarea, select {
background-image:url('http://i49.servimg.com/u/f49/15/49/49/31/gr3210.jpg');
color: black;
text-shadow: 1px 1px 1px white;
font-family: courrier new;
letter-spacing:-1px;
}




.profilentour {
text-align: center;
  width: 220px;
padding: 8px;
background-image:url('http://i47.servimg.com/u/f47/17/37/57/79/fond11.jpg');
-moz-border-radius: 40px;
display:block;
border-right: 5px solid blake;
border-left: 5px solid blake;
padding: 2px;
}

.profilentinfos {
text-align: left;
  letter-spacing: 1px;
  padding: 8px;
background-image:url('http://i47.servimg.com/u/f47/17/37/57/79/fond11.jpg');
display:block;
border-right: 5px solid #6B6B6B;
border-left: 5px solid #6B6B6B;
padding: 2px;



}


.profiledetails {
font-family: GEORGIA;
text-align: center;
padding: 8px;
background-image:url('http://i47.servimg.com/u/f47/17/37/57/79/fond11.jpg');
text-align: center;
  -moz-border-radius: 40px;
}


.profil1{
font-family: GEORGIA;
background-image:url('http://i47.servimg.com/u/f47/17/37/57/79/fond11.jpg');
  font-family: Trebuchet MS;
          font-size: 11px;
div style=" width: 30px;
span style="font-size: 18px;
 font-style: font-weight: font: arial black;
 color: #6B6B6B;
 text-shadow: 1px 1px 1px black
   
width: 130px; height:30px;
-moz-border-radius : 10px 10px 10px 10px;
border: 1px solid grey;
padding-right: 10px; padding-left: 10px;"
text-align: center;
}

.rotationavatar {
-moz-transform: rotate(8deg);
-webkit-transform: rotate(8deg);
transform: rotate(8deg); }



/******derniere colone caté********/
.cadre1 {
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-border-radius: 10px;
border: 2px solid #7887A6;
background-color:#A3A3A3;
  background-repeat: repeat;
font-size: 9px
}


/****** caté********/
a.forumlink {
width: 100%;
line-height: 8px;
background-repeat: repeat;
  background-color: silver;
letter-spacing:1px;
font-family: Times new roman;
font-size: 20px;
margin-top: 8px;
text-align: center;
 display: block;
}


.secondarytitle {
    background-image: url('http://i47.servimg.com/u/f47/17/37/57/79/test_h10.png');
    background-repeat: no-repeat;
    background-color: transparent;
    height: 120px;
    width: 900px;
 
    }
 
    .imgbas {
    background-image: url('http://i47.servimg.com/u/f47/17/37/57/79/bas_te10.png');
    background-repeat: no-repeat;
    background-color: transparent;
    height: 120px;
    width: 900px;
    }

        .catposition  {
text-align: center;

}

     

Et mon 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="0" cellpadding="0" style="border : 0px solid transparent;">
      <tr>
 <td colspan="3" nowrap="nowrap" width="100%" class="secondarytitle"> <div class="catposition">{catrow.tablehead.L_FORUM} </div></td>
      </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}"><span class="gradualfader">{catrow.forumrow.FORUM_NAME}</span></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 align="center" valign="middle" height="50" style="min-width: 150px;">
    <div class="cadre1">{catrow.forumrow.POSTS} messages ║ {catrow.forumrow.TOPICS} sujets.<br />
            <span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
          </td>
      </tr>
<!-- END forum_link_no -->
          <!-- BEGIN forum_link -->
          <td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
          <!-- END forum_link -->
     
      <!-- 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 --><tr><td colspan="3"><div class="imgbas"> </div></td></tr>
    </table><img src="{SPACER}" alt="" height="10" width="1" /><!-- END tablefoot -->
      <!-- END catrow -->

        <script type="text/javascript">
        /* variables à paramétrer */
        var texteAlert='\\o/ Y\'a un nouveau message \\o/';
        var periodeTest= 0.5;
        var periodeWink= 0.5;
        var arretAuto= 60;
        var numFrame= 0;
       
        /* code à ne pas trop toucher sans s'y connaitre */
        while(parent.frames[numFrame]&&numFrame<7)numFrame++; if(numFrame<7&&navigator.appName!='Microsoft Internet Explorer'&& document.getElementById('i_icon_mini_logout')){var oldCCB;var oldDCB;var pageTitle=document.title; var INTCB;function stopINT(){ if(INTCB!=undefined){clearInterval(INTCB);document.title=pageTitle;} return true;} function checkCB(){ if(parent.frames[numFrame].connected){ parent.frames[numFrame].document.getElementById('refresh_auto').checked=true; var newDCB= parent.frames[numFrame].document.getElementById('chatbox').childNodes[ parent.frames[numFrame].document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML; if(newDCB!=oldDCB){oldDCB=newDCB;var newCCB= parent.frames[numFrame].document.getElementById('chatbox').childNodes[ parent.frames[numFrame].document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; stopINT();if(newCCB!=oldCCB){ oldCCB=newCCB;INTCB=setInterval("document.title=(document.title==pageTitle)?texteAlert:pageTitle;",periodeWink*1000); setTimeout('stopINT()',arretAuto*1000);}}}else {stopINT();}} window.onload=function() { oldDCB= parent.frames[numFrame].document.getElementById('chatbox').childNodes[ parent.frames[numFrame].document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML;oldCCB= parent.frames[numFrame].document.getElementById('chatbox').childNodes[ parent.frames[numFrame].document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; setInterval('checkCB()',periodeTest*1000); parent.frames[numFrame].onfocus= parent.frames[numFrame].onkeypress= parent.frames[numFrame].onclick= parent.frames[numFrame].onblur=stopINT;}}
        </script>


Merci beaucoup de prendre la peine de m'aider. ^^


Dernière édition par nyly* le Ven 6 Avr 2012 - 14:38, édité 1 fois
avatar

nyly*
***

Féminin
Messages : 126
Inscrit(e) le : 13/07/2009

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

Résolu Re: derniers messages hors de la catégorie

Message par Scoubifitz Mer 4 Avr 2012 - 17:47

bonjour,

il manque les balises "tr" pour cette partie là :

<!-- BEGIN forum_link_no -->
<td align="center" valign="middle" height="50" style="min-width: 150px;">
<div class="cadre1">{catrow.forumrow.POSTS} messages ¦ {catrow.forumrow.TOPICS} sujets.<br />
<span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
</td>
</tr>
<!-- END forum_link_no -->
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->

<!-- 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 -->
Scoubifitz

Scoubifitz
Membre actif

Masculin
Messages : 3687
Inscrit(e) le : 18/03/2008

http://scoubidous.superforum.fr/
Scoubifitz a été remercié(e) par l'auteur de ce sujet.

Résolu Re: derniers messages hors de la catégorie

Message par nyly* Mer 4 Avr 2012 - 17:55

Merci de ta réponse rapide, je regarderai quand j'aurai accès à mon forum, je n'arrive pas à l'ouvrir, enfin c'est çà pour tous les forums que j'administre, alors que ceux des autres je peux les ouvrir xD
avatar

nyly*
***

Féminin
Messages : 126
Inscrit(e) le : 13/07/2009

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

Résolu Re: derniers messages hors de la catégorie

Message par nyly* Jeu 5 Avr 2012 - 12:56

alors je m'excuse du DP ^^ mais j'ai essayé en rajoutant des tr ou même en copiant et collant votre code et ça me décale complètement tout, ça ne va pas du tout ^^

Une autre idée?
avatar

nyly*
***

Féminin
Messages : 126
Inscrit(e) le : 13/07/2009

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

Résolu Re: derniers messages hors de la catégorie

Message par Scoubifitz Jeu 5 Avr 2012 - 18:53

bonjour,

pourquoi ne pas rajouter la class"row1" à la cellule ?
... puisqu'elle contient déjà le "background" que vous voulez ...

<!-- BEGIN forum_link_no -->
<td align="center" valign="middle" height="50" class="row1" style="min-width: 150px;">
Scoubifitz

Scoubifitz
Membre actif

Masculin
Messages : 3687
Inscrit(e) le : 18/03/2008

http://scoubidous.superforum.fr/
Scoubifitz a été remercié(e) par l'auteur de ce sujet.

Résolu Re: derniers messages hors de la catégorie

Message par nyly* Ven 6 Avr 2012 - 14:38

ça fonctionne merci beaucoup ^^

Sujet résolu
avatar

nyly*
***

Féminin
Messages : 126
Inscrit(e) le : 13/07/2009

http://jwrenaissance.forumactif.org/
nyly* 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