Largeur de colonnes
3 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1 • Partagez
Largeur de colonnes
Bonjour,
j'ai un petit problème concernant la largeur de certaines colonnes de mon forum quand il existe des sous-forum:
https://nsa28.casimages.com/img/2011/11/29/111129114109619234.jpg
J'aimerais réduire la 1ère et la 3éme colonnes. Quelqu'un pourrait-il m'indiquer la marche à suivre?
Merci
j'ai un petit problème concernant la largeur de certaines colonnes de mon forum quand il existe des sous-forum:
https://nsa28.casimages.com/img/2011/11/29/111129114109619234.jpg
J'aimerais réduire la 1ère et la 3éme colonnes. Quelqu'un pourrait-il m'indiquer la marche à suivre?
Merci
Dernière édition par Ansha le Dim 11 Déc 2011 - 11:44, édité 1 fois
Wave- *****
-
Messages : 567
Inscrit(e) le : 04/12/2011
Re: Largeur de colonnes
Non, ce n'est pas ça.
C'est le template qu'il faut modifier
Mais je te remercie quand même d'avoir tenter de m'aider.
C'est le template qu'il faut modifier
Mais je te remercie quand même d'avoir tenter de m'aider.
Re: Largeur de colonnes
Bonjour,
Pourrait-on avoir votre template index box et le css ?
Cordialement.
Pourrait-on avoir votre template index box et le css ?
Cordialement.
Re: Largeur de colonnes
Bonjour !
Voici mon template:
Et mon css:
Merci
Voici mon template:
- Code:
<table width="100%" cellspacing="1" cellpadding="0" align="center">
<tr><td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall"><font color="white">{LAST_VISIT_DATE}<br />
{CURRENT_TIME}</font><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%" cellspacing="1" cellpadding="0" align="center">
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top"></td>
<h{catrow.forumrow.LEVEL} class="hierarchy">
<td class="{catrow.cathead.inc.INC_CLASS}"><img src="{SPACER}" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}"><div class="titrecat">{catrow.cathead.CAT_TITLE}</div></a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="center"></td>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN 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}" />
<tr>
<td class="{catrow.forumrow.inc.INC_CLASS}"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="row3" 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="center">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}"><div class="titreforum" align="center">{catrow.forumrow.FORUM_NAME}</div></a></span>
</h{catrow.forumrow.LEVEL}>
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
<!-- 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}
<td BGCOLOR="#878787">
<span class="genmed"><div style="text-align : center;"><font color="black" face="arial">{catrow.forumrow.LAST_POST}</font></div></span></td>
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle"><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 -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Et mon css:
- Code:
/*Page d'Accueil*/
.navigation
{background-color: #878787;
text-align: center;
width: 120px;
height: 15px;
border: 1px white dotted;
-border-radius: 10px;
-moz-border-radius:10px;
-webkit-border-radius:10px;
-khtml-border-radius:10px;
text-color:#000000;
text-decoration: none;
cursor:pointer;
display:inline-block;
margin-left:3px;
margin-right:3px;
padding: 3px;
}
* a.info {
position: relative;
color: white;
text-decoration: none;
}
a.info span {
display: none; /* on masque l'infobulle */
}
a.info:hover {
background: none; /* correction d'un bug IE */
z-index: 999; /* on définit une valeur pour l'ordre d'affichage */
cursor: help; /* on change le curseur par défaut en curseur d'aide */
}
a.info:hover span {
display: inline; /* on affiche l'infobulle */
position: absolute;
white-space: normal;
top: 20px;
left: 10px;
background-color: #8A8A8A;
-moz-border-radius : 5px 5px 5px 5px;
padding: 3px;
border: 1px dashed white;
width: 150px;}
a.mainmenu
{
padding-right: 15px;
border: 1px dashed #FFFFFF;
-moz-border-radius: 0px;
font-family: Police;
font-size: 12px;
text-align:center;
}
a {text-decoration: none;}
a:hover {text-decoration: none!important;}
a.forumlink:hover {text-decoration: none!important;}
a.topiclink:hover {text-decoration: none!important; }
a:hover{text-transform:uppercase;}
.statistiques{
border:55px;
background-repeat: no-repeat;
background-position: center;
height:170px;}
.groupes{
border: 1px #FFFFFF dashed;
-moz-border-radius : 5px 5px 5px 5px;
height:40px;padding-right:12px;padding-left:12px;padding-bottom:3px;
font-size:15px;font-weight: bold;text-align:center;
text-decoration: none !important;}
.forumline {
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
-moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px;
border: 5px solid #000000;
}
/* TITRES DES FORUMS */
.titreforum
{
letter-spacing : 4px; /* espacement de 4px entre chaque lettre */
margin-right : 30px; /* marge exterieur droite */
margin-left : 30px; /* marge exterieur gauche */
border-bottom : 2px solid #ffffff; /* bordure droite */
font-variant : small-caps; /* texte mis en majuscule */
-moz-border-radius : 9px; /* bords arrondis ( firefox ) */
font-size : 15px; /* taille du texte */
color : #ffffff; /* couleur du texte */
text-shadow : 0px 0px 5px #ffffff; /* ombre du texte */
text-align : right; /* position du texte */
}
/* DEscriptIONS DES FORUMS */
.desc
{
background-image : URL('http://s2.noelshack.com/uploads/images/2434562749377_pattern16lw5.png'); /* image de fond */
-moz-border-radius : 15px;
text-align : right;
padding : 5px; /* marge intérieur */
color : #ffffff;
margin-left : 30px; /* marge extérieur gauche */
-moz-box-shadow : 0px 0px 10px #ffffff; /* Ombre */
font-variant : small-caps;
margin-right : 30px;
}
a.desclink /* -> les sous-forums. */
{
background-color : #4f91ba; /* couleur du fond */
-moz-border-radius : 15px;
text-decoration : none !important; /* les liens ne sont pas soulignés */
color : #ffffff;
font-variant : normal;
font-size : 9px;
padding : 3px; /* marge interieur */
}
#page-body {
margin-top:15px;
} /* espace entre barre de navigation et la pub */
Merci
Re: Largeur de colonnes
Bonsoir,
A la base, vous vouliez faire quoi ? Il y a pas mal d'erreurs dans le code et le mieux serait de reprendre tout à zéro.
Cordialement.
A la base, vous vouliez faire quoi ? Il y a pas mal d'erreurs dans le code et le mieux serait de reprendre tout à zéro.
Cordialement.
Re: Largeur de colonnes
Juste si vous pouviez m'indiquer la balise permettant de modifier la largeur des colonnes des catégories.
Je me débrouillerais avec
Je me débrouillerais avec
Re: Largeur de colonnes
Il suffit de mettre des width (ou des min width/max width) dans les td concernés.
Cordialement.
Re: Largeur de colonnes
Pardon, je voulais dire l'attribut.
Je ne retrouve plus les lignes concernées.
Je ne retrouve plus les lignes concernées.
Re: Largeur de colonnes
J'ai fini par me débrouiller toute seule. Merci tout de même.
Sujets similaires
» Largeur Colonnes
» largeur des colonnes
» Largeur colonnes
» Largeur des colonnes Catégories et sujets différentes
» Réduire largeur colonnes "sujets" et "messages"
» largeur des colonnes
» Largeur colonnes
» Largeur des colonnes Catégories et sujets différentes
» Réduire largeur colonnes "sujets" et "messages"
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum