Espace entre entête catégorie et corps du forum
2 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1 • Partagez
Espace entre entête catégorie et corps du forum
Dernière édition par Eden. le Dim 18 Mai 2014 - 16:57, édité 1 fois
Re: Espace entre entête catégorie et corps du forum
Bonjour,
Pourrait-on avoir le template index_box et le CSS qui y est lié ?
Pourrait-on avoir le template index_box et le CSS qui y est lié ?
Re: Espace entre entête catégorie et corps du forum
Oui bien sûr (:
Index box :
CSS :
Index box :
- Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<!-- 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 -->
<span class="secondarytitle">{catrow.tablehead.L_FORUM}</span><table align="center" cellspacing="0"><tr><td><div class="cathead"></div></td></tr></table>
<table class="forumline" width="798px" border="0" cellspacing="0" cellpadding="0" align="center">
<!-- 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"/></td>
<!-- END inc -->
<div class="iconss"><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}" /></div>
</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}>
<table width="100%" align="center">
<tr>
<td width="40%">
<div class="descrip">
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
</div>
</td>
<td class="sousfo" width="15%" height="90px;">
<span class="gensmall" id="subforums"><div style="overflow:auto;height:90px;">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div></span>
<script type="text/javascript">
jQuery('#subforums').html(jQuery('#subforums').html().replace(/, /g,'<br/>')).removeAttr('id');
</script>
</td>
</tr>
</table>
<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 class="row3 over" align="center" valign="bottom" width="40%">
<div class="lastm" width="30%">
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</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><div class="catfoot"></div><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --> <!-- END catrow -->
CSS :
- Code:
/* EN TETE ET BAS DE PAGE*/
.cathead
{
background: url('http://i62.tinypic.com/m807tk.jpg') top center no-repeat;
width: 794px;
height: 100px;
margin:auto; /*Permet de centrer la partie du corps*/
}
.catfoot
{
background: url('http://i62.tinypic.com/5nj9s6.jpg') bottom center no-repeat;
width: 794px;
height: 101px;
margin:auto;
margin-top:-5px;
}
Re: Espace entre entête catégorie et corps du forum
Bonjour,
Si vous remplacez "margin:auto;" dans la class .cathead par cela ça devrait être bon :
La valeur à ajuster est le "-2px".
Si vous remplacez "margin:auto;" dans la class .cathead par cela ça devrait être bon :
- Code:
margin: 0px auto -2px;
La valeur à ajuster est le "-2px".
Re: Espace entre entête catégorie et corps du forum
Malheureusement il reste toujours ce minuscule pixel de vide x)
Re: Espace entre entête catégorie et corps du forum
Dans ce cas pourriez-vous permettre l'accès au forum? Puisque avec ce que vous m'avez donné cela fonctionne.
Re: Espace entre entête catégorie et corps du forum
Oui normalement ça devrait être bon !
Re: Espace entre entête catégorie et corps du forum
Bonjour ,
Il s'agit en faite de la bordure du cadre du dessous, ce css devrait régler le problème :
Puis pour les titres vous avez dans la passage suivant de votre CSS :
la ligne "display:none;" il faut l'enlever si vous désirez voir les titre de vos catégories .
Il s'agit en faite de la bordure du cadre du dessous, ce css devrait régler le problème :
- Code:
.forumline{
border-top:none !important;
}
Puis pour les titres vous avez dans la passage suivant de votre CSS :
- Code:
.secondarytitle h2 {
color: #008000;
display: none;
font-family: Oswald;
font-size: 20px;
text-align: center;
}
la ligne "display:none;" il faut l'enlever si vous désirez voir les titre de vos catégories .
Re: Espace entre entête catégorie et corps du forum
Nickel ! Merci encore une fois SeLfde4Th7 !
Sujets similaires
» Espace entre le haut de catégorie et le corps de catégorie
» Espace entre le corps du forum et la bordure.
» espace entre le header et le corps du forum sur téléphone
» Réduire l'espace entre le header et le corps du forum/Supprimer du menu FAQ et recherche.
» espace entre l'image du bas de catégorie et la catégorie
» Espace entre le corps du forum et la bordure.
» espace entre le header et le corps du forum sur téléphone
» Réduire l'espace entre le header et le corps du forum/Supprimer du menu FAQ et recherche.
» espace entre l'image du bas de catégorie et la catégorie
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum