Page des sujets plus large que la largeur du forum demander

2 participants

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

Résolu Page des sujets plus large que la largeur du forum demander

Message par Azya Ven 14 Fév 2014, 16:58

bonsoir à tous.
Si je suis pas au bon endroit, vous le dites car je ne savais pas trop où aller pour demander de l'aide qui à mon avis est un problème de codage que j'ai du mal faire. Comme à chaque fois que je rebidouille les codes pour les adapter à mes besoins, je vérifie que tout est Ok partout. Donc pour l'heure actuelle, je suis toujours avec l'INDEX BOX et  j'avais presque fini  mon premier codage rebidouiller dedans lorsque je me suis aperçu d'un truc c'est que ma page de sujet est nettement plus grand que mes 950 px
Voilà comment c'est en page d'accueil. Tout bien comme il faut

Page des sujets plus large que la largeur du forum demander 46326909261392392991fond1

Mais lorsque j'arrive dans un sujet et seulement lorsque je suis dans les sujets, voilà ce qui se produit, cela agrandit. Je le sais car ma barre à 950 pixels

Page des sujets plus large que la largeur du forum demander 62707851221392393095fond12

J'ai vérifié en cliquant dans un sous forum sans aller directement dans un sujet et là tout est OK donc du coup je patauge pour savoir où mon code déconne.
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}<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="cadh"><tr valign="center"><td><div class="categotitre" >{catrow.tablehead.L_FORUM}</div></td></tr></table>
<table class="forumline" width="950px" align="center" border="0" cellspacing="1" cellpadding="0">
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<tr>
<td>
<table width="100%" cellspacing="0" cellpadding="0" border="0">    
<tr>                  
<td align="center" width="80%" class="cellcat">                        
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="50" align="center" >                              
<tbody>                                
<tr>                                      
<td width="50"><img src="http://fr.quozpowa.com/QuozUpload/35897063651392289860essaibord.png" width="50" height="50" alt="" />                                    
</td>                                    
<td align="center"  height="50" style="background: url('http://fr.quozpowa.com/QuozUpload/72870534101392291751essai_fond2.png') repeat-x; text-align: center; min-width: 300px;">                                              
<h{catrow.forumrow.LEVEL} class="hierarchy">                          
<span class="forumlink">                  
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}"></a><br />              
 </span>                      
</h{catrow.forumrow.LEVEL}>                                    
 </td>                                  
<td width="50"><img src="http://fr.quozpowa.com/QuozUpload/69233598931392290048essaibord1.png" width="50" height="50" alt="" /></td>                              
</tr>                        
</tbody>                
</table>    
 </td>    
<td align="center" valign="middle" class="cell_vide"></td>    
<td align="center" valign="middle" class="cell_vide"></td>      
</tr>    
<tr>
<td width="80%" class="des">                            
<div class="description">
<div>                      
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>                                                                                
 </div>                                                        
</div>      
</td>      
<td  width="3%"></td>
<td  width="17%" style="min-width: 160px; vertical-align: bottom;">
<div class="icone"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></div>            
<div class="dermess">  
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>                
</div>        
</td>
</tr>
<tr>      
<td width="80%" align="center">
<table width="85%" border="0" cellspacing="0" cellpadding="0" height="45" align="center" >                      
<tbody>                        
<tr>                        
<td width="45"><img src="http://fr.quozpowa.com/QuozUpload/50988990441392292377essaibord2.png" width="45" height="45" alt="" /></td>                          
<td  class="textcell" align="center"  height="45" style="background: url('http://fr.quozpowa.com/QuozUpload/60863850311392292317essai_fond3.png') repeat-x;">          
<span class="gensmall">    
<!-- BEGIN switch_moderators_links -->            
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}    
<!-- END switch_moderators_links -->          
</span> </td>                                                      
<td width="45"><img src="http://fr.quozpowa.com/QuozUpload/86120502511392292432essaibord3.png" width="45" height="45" alt=""  /></td>                      
</tr>                
</tbody>            
</table>
</td>        
<td width="3%"></td>        
<td width="17%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="45" align="center" >                    
<tbody>                        
<tr>                          
<td width="45"><img src="http://fr.quozpowa.com/QuozUpload/50988990441392292377essaibord2.png" width="45" height="45" alt="" /></td>                        
<td class="textcell" align="center" height="45" style="background: url('http://fr.quozpowa.com/QuozUpload/60863850311392292317essai_fond3.png') repeat-x; min-width: 150px;">  
<span class="gensmall">
<span style="color: #851542; font-weight: bold;">{catrow.forumrow.TOPICS}</span> sujets et
<span style="color: #851542; font-weight: bold;">{catrow.forumrow.POSTS}</span> messages</span>                        
</td>                        
<td width="45"><img src="http://fr.quozpowa.com/QuozUpload/86120502511392292432essaibord3.png" width="45" height="45" alt=""  /></td>                    
</tr>                
</tbody>            
</table>    
</td>  
</tr>
</table>
  <div class="categotitre" >
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}    
 </div>
</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><table class="cadb"><tr valign="center"><td></td></tr></table><br/><br/><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

CSS
Code:
/* pas de soulignement de liens */
a{text-decoration:none  !important;
}
a:link {text-decoration:none;
}
a:visited {text-decoration:none;
}
a:hover {text-decoration:none;
}
       /*__________ BARRE DE NAVIGATION__________*/
  /*Image Index (forum)*/
 #i_icon_mini_index{
background-image:url('http://fr.quozpowa.com/QuozUpload/39532882401392051084ac.png');
background-repeat:no-repeat;
width:111px;
height:40px;
}
#i_icon_mini_index:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/75440769311392051124ac1.png');
background-repeat:no-repeat;
width:111px;
height:40px;
}
#i_icon_mini_faq {
background-image:url('http://fr.quozpowa.com/QuozUpload/99094552631392066940fac.png');
background-repeat:no-repeat;
width:58px;
height:40px;
}
#i_icon_mini_faq:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/30841297151392052403fac1.png');
background-repeat:no-repeat;
width:58px;
height:40px;
}
 /*Image Recherche*/
#i_icon_mini_search{
background-image:url('http://fr.quozpowa.com/QuozUpload/88840000001392052669rech.png');
background-repeat:no-repeat;
width:108px;
height:40px;
}
#i_icon_mini_search:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/67592256511392067396rech1.png');
background-repeat:no-repeat;
width:108px;
height:40px;
}
/*Image Membres*/
#i_icon_mini_members{
background-image:url('http://fr.quozpowa.com/QuozUpload/10171211651392067797mem.png');
background-repeat:no-repeat;
width:108px;
height:40px;
}
#i_icon_mini_members:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/41112128741392067840mem1.png');
background-repeat:no-repeat;
width:108px;
height:40px;  
}
 /*Image Groupes*/
#i_icon_mini_groups{
background-image:url('http://fr.quozpowa.com/QuozUpload/72384809561392068271group.png');
background-repeat:no-repeat;
width:102px;
height:40px;
}
#i_icon_mini_groups:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/50041952871392068327group1.png');
background-repeat:no-repeat;
width:102px;
height:40px;
}
/*Image Profil*/
#i_icon_mini_profile{
background-image:url('http://fr.quozpowa.com/QuozUpload/39501209791392068722pro.png');
background-repeat:no-repeat;
width:74px;
height:40px;  
}
#i_icon_mini_profile:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/6769470271392068780pro1.png');
background-repeat:no-repeat;
width:74px;
height:40px;
}
/*Image Mp (pas de nouveaux messages)*/
#i_icon_mini_message{
background-image:url('http://fr.quozpowa.com/QuozUpload/60239834011392069212mes.png');
background-repeat:no-repeat;
width:133px;
height:40px;
}
#i_icon_mini_message:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/38020017701392069224mes1.png');
background-repeat:no-repeat;
width:133px;
height:40px;
}
/*Image Mp (nouveaux messages)*/
#i_icon_mini_new_message{
background-image:url('http://fr.quozpowa.com/QuozUpload/28695806581392110138newmes.png');
background-repeat:no-repeat;
width:133px;
height:40px;
}
#i_icon_mini_new_message:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/9703969031392110227newmes1.png');
background-repeat:no-repeat;
width:133px;
height:40px;
}
/*Image déconnexion*/
#i_icon_mini_logout{
background-image:url('http://fr.quozpowa.com/QuozUpload/50420412421392110778dA_cox.png');
background-repeat:no-repeat;
width:178px;
height:40px;
}
#i_icon_mini_logout:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/99496200771392110820dA_cox1.png');
background-repeat:no-repeat;
width:178px;
height:40px;
}
 /*Image S'enregistrer*/
#i_icon_mini_register{
background-image:url('http://fr.quozpowa.com/QuozUpload/23930152691392111884ins.png');
background-repeat:no-repeat;
 width:133px!important;
height:40px;
}
#i_icon_mini_register:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/76139890451392111894ins1.png');
background-repeat:no-repeat;
width:133px;
height:40px;
}
/*Image Connexion*/
#i_icon_mini_login{
background-image:url('http://fr.quozpowa.com/QuozUpload/97679485331392110910cox.png');
background-repeat:no-repeat;
width:178px;
height:40px !important;
}
#i_icon_mini_login:hover{
background-image:url('http://fr.quozpowa.com/QuozUpload/56977065001392110958cox1.png');
background-repeat:no-repeat;
width:178px ;
height:40px !important;
}
 a.mainmenu img {
margin-top:-45px;
}
/*__________ FIN BARRE DE NAVIGATION__________*/

/*__________ FOND + BANNIERE__________*/
 body {
background-image: url('http://fr.quozpowa.com/QuozUpload/2579854531392135022essai_ban1.png'), url('http://i58.servimg.com/u/f58/18/73/59/63/fond13.jpg');
background-attachment: scroll, fixed;
background-position: top center, center center;
background-repeat: no-repeat, repeat;
background-size: auto,cover;
}
/*__________ FIN FOND + BANNIERE__________*/

/*__________ INDEX BOX__________*/
/* Cadrage*/
.forumline {  
margin-bottom:5px;
padding:5px;
border: 3px none #340c27;
-moz-box-shadow:  0 0 6px 0 #d20766;
-webkit-box-shadow:  0 0 6px 0 #d20766;
box-shadow:  0 0 6px 0 #d20766;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
 }
/*Titre forum*/
span.forumlink {
line-height: 38px;
vertical-align: middle;
display: block;
margin: 0;
text-align: center;
width: 80%;
min-width: 250px;
}
/*Liens du titre*/
a.forumlink{
text-shadow: 1px 0px 2px  #000;
letter-spacing: 6px;
font-size: 17px;
}

/*--- CATEGORIES ---*/
/*Ossature*/
table.cadh{
width:950px;
height:200px;
background-image:url('http://fr.quozpowa.com/QuozUpload/75911853931392381735barrecat.png');
background-repeat:no-repeat;
margin:auto;
}

table.cadb{
width:950px;
height:200px;
background-image:url('http://fr.quozpowa.com/QuozUpload/3101420971392382189barrecat1.png');
background-repeat:no-repeat;
margin:auto;
}

/*Présentation*/
.categotitre {
 width:100%;                
text-align:center;          
margin-bottom: 5px ;          
margin-left : 10px;            
}
.categotitre img {
 display: inline !important;
}
.categotitre .textecatego {
  display: none;
}
.textecatego {
 display: inline;
}
/*--- Fin CATEGORIES ---*/

/*--- DESCRIPTION  ---*/
.des{
  background : url('http://fr.quozpowa.com/QuozUpload/45833108951392303544fondes.png');
  padding:5px;
  margin: 0 auto;
   border: 1px none #340c27;
  -moz-box-shadow:  0 0 3px 0 #c70588;
  -webkit-box-shadow:  0 0 3px 0 #c70588;
  box-shadow:  0 0 3px 0 #c70588;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}
.description span.genmed img{
 margin:11px;
}
.modo{
  background-position: bottom;
  padding: 1px;
  padding-left: 28px;
  margin:5px;
}
/*--- DERNIER MESSAGE  ---*/
.dermess{
background : url('http://fr.quozpowa.com/QuozUpload/45833108951392303544fondes.png');
  background-position: bottom;
  padding: 7px;
  padding-left: 28px;
  margin: 0 auto;
  height: 50px;
 border: 1px none #340c27;
  -moz-box-shadow:  0 0 3px 0 #c70588;
  -webkit-box-shadow:  0 0 3px 0 #c70588;
  box-shadow:  0 0 3px 0 #c70588;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}
 /* EMPLACEMENT DE L ICONE NEW/NO-NEW/CLOS  */
.icone{
  position: relative;
  float: left;
  margin-left: -10px;
  margin-top: -15px;
}
/* TEXTES CELLULES SOUS-FORUMS ET NOMBRE DE SUJETS-MESSAGES */
.textcell .gensmall{
  font: 11px Arial;
  color: #cfcfcf;
  text-shadow: 0px 0 1px #000;
}
.textcell .gensmall img{
  vertical-align: middle;
}
td.row1, td.row2, td.row3{
background-image: url("http://fr.quozpowa.com/QuozUpload/61541609051392387020ssforum.png");
}

Voilà merci pour votre aide

PS j'ai oublié :
l'adresse de mon forum en cours : http://coedwigessai.forumactif.org/
PHBB2
Juste l'index Box de modifier


Dernière édition par Azya le Ven 14 Fév 2014, 19:35, édité 1 fois
Azya

Azya
***

Féminin
Messages : 151
Inscrit(e) le : 21/10/2011

http://www.plumesmots.com/
Azya a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Page des sujets plus large que la largeur du forum demander

Message par Scoubifitz Ven 14 Fév 2014, 17:21

bonjour,

un lien vers le sujet qui pose problème ?

sinon , vérifiez si ce n'est pas une déformation due au fil d’Ariane ...

souvent , une image est mise à la place d'un titre de forum , et cette image se retrouve dans le fil d'Ariane d'un sujet ...
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: Page des sujets plus large que la largeur du forum demander

Message par Azya Ven 14 Fév 2014, 18:05

Oui sans aucun problème :
http://coedwigessai.forumactif.org/t3-mission-de-la-plus-haute-importance

Normalement j'ai un code qui évite ce problème là avec les fils d'ariane
Edition de message : Lorsque la fatigue vous gagne, vous ne voyez pas le plus évident. bonjour la quiche !! quoi !!!
j'avais juste oublié de redimensionner les images à poster   !! Mad

Merci pour tou scoubifitz
Azya

Azya
***

Féminin
Messages : 151
Inscrit(e) le : 21/10/2011

http://www.plumesmots.com/
Azya a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Page des sujets plus large que la largeur du forum demander

Message par Scoubifitz Ven 14 Fév 2014, 19:37

désolé , je n'y ai pas accès en tant qu'invité ...
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.
  • 0

Résolu Re: Page des sujets plus large que la largeur du forum demander

Message par Azya Ven 14 Fév 2014, 19:53

Ne cherche plus Scoubifitz, c'est moi qui suis quiche !!
J'avais oublié de réduire la taille d'affichage des images. Tu m'y as fait pensé en parlant du fil d'ariane Clin d\'oeil 
Merci encore de ton aide
Azya

Azya
***

Féminin
Messages : 151
Inscrit(e) le : 21/10/2011

http://www.plumesmots.com/
Azya 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