|
|
| Author |
Message |
|
néfertiti58 |
Posted: Fri 29 Aug 2008 - 14:11 Post subject: Coller les boutons de navigations |
 |
|
Bonjour,
Mon problème concerne: Je souhaiterais coller les boutons de navigations de mon forum
Adresse de mon forum: http://chroniquesdenarnia.xooit.com
Le nom de mon thème: Chronicles
Je suis administrateur? Fondateur? de ce forum: Fondatrice
Images se rapportant au problème: Aucune
Page de mon forum se rapportant au problème:
Lien du thème normal:
http://chroniquesdenarnia.xooit.com/index.php
Lien du thème de test :
http://chroniquesdenarnia.xooit.com/index.php?theme=test
Description complète et précise du problème:
Et bien voilà, j'aimerais que tous mes boutons de navigations se touchent, mais j'ai essayer en enlevent dans les templates le hespace"3" qui se situe entre chaque bouton. Cependant, il reste un espace entre les boutons dont j'ai par moi-même fait et les boutons dit par défaut (autrement dit les boutons par défaut se collent très bien, mais pas pour ceux dont j'ai ajouter) , j'aimerais savoir comment je pourrait enlever cet espace, comme vous pouvez le voir sur le thème de test.
Merci pour toutes aides, ça serait très précieux à mes yeux _______________________
Xooit.com, le meilleur Hébergeur de forums!
|
|
| Membre |

|
 Offline |
Joined: 23 Dec 2005
Posts: 399
Niveau: Point(s): 343 Moyenne: 0.86
|
 |
|
 |
|
Yskander |
Posted: Fri 29 Aug 2008 - 14:36 Post subject: Coller les boutons de navigations |
 |
|
Bonjour
Pouvez vous mettre ici, entre les balises codes, votre template overall header.tpl concerné
Cordialement _______________________

|
|
| Membre |

|
 Offline |
Joined: 26 Jan 2008
Posts: 6,511
Point(s): 4,414 Moyenne: 0.68 Trophées: 
|
 |
|
 |
|
themalin |
Posted: Fri 29 Aug 2008 - 15:37 Post subject: Coller les boutons de navigations |
 |
|
bonjour
sur tes deux forums je vois toujours
hspace="3 dans les codes images
sinon je vois aussi un espace entre chaque code
tu dois bien tout coller comme ceci
code1code2etc....
sinon ça te créer un espace _______________________
|
|
| Membre |

|
 Online |
Joined: 19 Apr 2006
Posts: 42,988
Point(s): 42,477 Moyenne: 0.99 Trophées: 
|
 |
|
 |
|
néfertiti58 |
Posted: Fri 29 Aug 2008 - 17:54 Post subject: Coller les boutons de navigations |
 |
|
Voici mon Overal header normal :
- Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}<head><LINK REL="SHORTCUT ICON" HREF="http://img27.xooimage.com/files/1/f/9/narnia0801-586f4f.ico"></head>
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://img1.xooimage.com/files/b/e/b/chronicles-59eccb.css" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" alink="{T_BODY_LINK}">
<script type="text/javascript">
/* Modifiez 530 ici par la largeur maximum que vous voulez
*/
MAX_IMG_WIDTH = 900;
function resizedImgClick(event) {
event = (event || window.event);
var img = Event.element(event);
// L'image est dans un lien, on laisse le lien s'ouvrir
if (img.up('a')) return;
// L'image taille réelle est actuellement affichée, on la ferme
if (fullImg = $('img.resizedImgFull[src="'+img.src+'"]')[0]) {
fullImg.parentNode.removeChild(fullImg);
Event.stop(event);
return false;
}
// On peut afficher l'image taille réelle. Avant, on ferme toutes les images taille réelle
$('img.resizedImgFull').each(function(elem) {
elem.parentNode.removeChild(elem);
});
// On affiche l'image taille réelle
var elem = $cE('img');
elem.src=img.src;
elem.setStyle({
position:'absolute',top:document.body.scrollTop,left:document.body.scrollLeft,cursor:'pointer'
});
elem.addClassName('resizedImgFull');
elem.onclick=resizedImgClose;
document.body.appendChild(elem);
Event.stop(event);
return false;
}
function resizedImgClose(event) {
event = (event || window.event);
var img = Event.element(event);
img.parentNode.removeChild(img);
Event.stop(event);
return false;
}
function imgsize(maxwidth) {
$$('.postbody img').each(function(img) {
if (img.width <= maxwidth) return;
img.width=maxwidth;
img.style['cursor']='pointer';
img.onclick=resizedImgClick;
});
}
Event.observe(window,'load',function(){imgsize(MAX_IMG_WIDTH);});
</script>
<a name="top"></a>
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center"><a href="{U_INDEX}"><img src="http://img2.xooimage.com/files/8/a/5/bann-off-narnia-5a9420.png" border="0" alt="{L_INDEX}" vspace="1" /></a></td></tr><tr>
<td align="center" width="100%" valign="middle"><span class="maintitle"></span><br /><span class="maindescr">{SITE_DESCRIPTION}<br /> </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><a href="{U_FAQ}" class="mainmenu"><img src="http://img8.xooimage.com/files/c/8/4/faq-600493.png" border="0" alt="{L_FAQ}" hspace="3" /></a></span><span class="mainmenu"> <a href="/portal.php" class="mainmenu"><img src="http://img1.xooimage.com/files/0/6/0/portail-6004f5.png" border="0" alt="Portail" hspace="3" /></a></span><span class="mainmenu"> <a href="/index.php" class="mainmenu"><img src="http://img3.xooimage.com/files/f/9/5/index-6005f9.png" border="0" alt="Index" hspace="3" /></a></span><span class="mainmenu"> <a href="http://chroniquesdenarnia.xooit.com/t1170-Liste-de-liens-utiles.htm#p8227" class="mainmenu"><img src="http://img5.xooimage.com/files/7/2/d/plan-du-site-60060f.png" border="0" alt="Plan du site" hspace="3" /></a></span><span class="mainmenu"><a href="{U_SEARCH}" class="mainmenu"><img src="http://img3.xooimage.com/files/e/f/f/rechercher-5ffaaf.png" border="0" alt="{L_SEARCH}" hspace="3" /></a><a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img6.xooimage.com/files/e/7/a/membres-5ffa83.png" border="0" alt="{L_MEMBERLIST}" hspace="3" /></a><a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img2.xooimage.com/files/c/b/5/groupes-6005bc.png" border="0" alt="{L_USERGROUPS}" hspace="3" /></a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="http://img6.xooimage.com/files/d/2/4/s-inscrire-5ffaa2.png" border="0" alt="{L_REGISTER}" hspace="3" /></a></span>
<!-- END switch_user_logged_out -->
<span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu"><img src="http://img2.xooimage.com/files/e/5/3/profil-6005e3.png" border="0" alt="{L_PROFILE}" hspace="3" /></a><a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img6.xooimage.com/files/0/6/a/messagerie-5ffa8d.png" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img8.xooimage.com/files/4/9/1/login-60045c.png" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" /></a></span></td>
</tr>
</table></td>
</tr>
</table>
<div align="center">
<span class="mainmenu"> <a href="http://www.carte-des-membres.com/fr/Narniens/" class="mainmenu"><img src="http://www.hostingpics.net/pics/550112Carte-membres.png" border="0" alt="Portail" hspace="3" />Carte des Narniens</a></span><span class="mainmenu"> <a href="http://www.livre-dor.net/livre.php?livredor=42853" class="mainmenu"><img src="http://www.hostingpics.net/pics/683238annonce1rz.gif" border="0" alt="Portail" hspace="3" />Signez le Livre d'Or de Narnia</a></span><span class="mainmenu"> <a href="http://www.root-top.com/topsite/narnia211206" class="mainmenu"><img src="http://img26.xooimage.com/files/b/b/9/top-site-50a8d1.png" border="0" alt="Portail" hspace="3" />Topsite de Narnia</a></span>
</div>
<br /><center><a title=" Site déposé sur CopyrightFrance.com " href="http://www.copyrightfrance.com/php/certificat.php?reference=NMBJ479"><img border="0" src="http://img356.imageshack.us/img356/3368/nmbj4791mo0.gif"></a></center>
Et voici mon Overal Header de test : - Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head><style>
<!--
BODY{ cursor:url("http://upload.is.free.fr/upload/rt7lwoer.cur"); }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}<head><LINK REL="SHORTCUT ICON" HREF="http://img27.xooimage.com/files/1/f/9/narnia0801-586f4f.ico"></head>
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://img1.xooimage.com/files/b/e/b/chronicles-59eccb.css" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" alink="{T_BODY_LINK}">
<script type="text/javascript">
/* Modifiez 530 ici par la largeur maximum que vous voulez
*/
MAX_IMG_WIDTH = 900;
function resizedImgClick(event) {
event = (event || window.event);
var img = Event.element(event);
// L'image est dans un lien, on laisse le lien s'ouvrir
if (img.up('a')) return;
// L'image taille réelle est actuellement affichée, on la ferme
if (fullImg = $('img.resizedImgFull[src="'+img.src+'"]')[0]) {
fullImg.parentNode.removeChild(fullImg);
Event.stop(event);
return false;
}
// On peut afficher l'image taille réelle. Avant, on ferme toutes les images taille réelle
$('img.resizedImgFull').each(function(elem) {
elem.parentNode.removeChild(elem);
});
// On affiche l'image taille réelle
var elem = $cE('img');
elem.src=img.src;
elem.setStyle({
position:'absolute',top:document.body.scrollTop,left:document.body.scrollLeft,cursor:'pointer'
});
elem.addClassName('resizedImgFull');
elem.onclick=resizedImgClose;
document.body.appendChild(elem);
Event.stop(event);
return false;
}
function resizedImgClose(event) {
event = (event || window.event);
var img = Event.element(event);
img.parentNode.removeChild(img);
Event.stop(event);
return false;
}
function imgsize(maxwidth) {
$$('.postbody img').each(function(img) {
if (img.width <= maxwidth) return;
img.width=maxwidth;
img.style['cursor']='pointer';
img.onclick=resizedImgClick;
});
}
Event.observe(window,'load',function(){imgsize(MAX_IMG_WIDTH);});
</script>
<a name="top"></a>
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center"><a href="{U_INDEX}"><img src="http://img2.xooimage.com/files/8/a/5/bann-off-narnia-5a9420.png" border="0" alt="{L_INDEX}" vspace="1" /></a></td></tr><tr>
<td align="center" width="100%" valign="middle"><span class="maintitle"></span><br /><span class="maindescr">{SITE_DESCRIPTION}<br /> </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><a href="{U_FAQ}" class="mainmenu"><img src="http://img8.xooimage.com/files/c/8/4/faq-600493.png" border="0" alt="{L_FAQ}" /></a></span><span class="mainmenu"> <a href="/portal.php" class="mainmenu"><img src="http://img1.xooimage.com/files/0/6/0/portail-6004f5.png" border="0" alt="Portail" /></a></span><span class="mainmenu"> <a href="/index.php" class="mainmenu"><img src="http://img6.xooimage.com/files/3/7/6/index-6001a7.png" border="0" alt="Index" /></a></span><span class="mainmenu"> <a href="http://chroniquesdenarnia.xooit.com/t1170-Liste-de-liens-utiles.htm#p8227" class="mainmenu"><img src="http://img8.xooimage.com/files/6/1/8/plan-du-site-6001b3.png" border="0" alt="Plan du site" /></a></span><span class="mainmenu"><a href="{U_SEARCH}" class="mainmenu"><img src="http://img3.xooimage.com/files/e/f/f/rechercher-5ffaaf.png" border="0" alt="{L_SEARCH}" /></a><a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img5.xooimage.com/files/e/6/5/membres-6002a8.png" border="0" alt="{L_MEMBERLIST}" /></a><a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img6.xooimage.com/files/e/7/5/groupes-5ffa61.png" border="0" alt="{L_USERGROUPS}" /></a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="http://img6.xooimage.com/files/d/2/4/s-inscrire-5ffaa2.png" border="0" alt="{L_REGISTER}" /></a></span>
<!-- END switch_user_logged_out -->
<span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu"><img src="http://img6.xooimage.com/files/9/c/c/profil-6002b6.png" border="0" alt="{L_PROFILE}" /></a><a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img6.xooimage.com/files/0/6/a/messagerie-5ffa8d.png" border="0" alt="{PRIVATE_MESSAGE_INFO}" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img8.xooimage.com/files/4/9/1/login-60045c.png" border="0" alt="{L_LOGIN_LOGOUT}" /></a></span></td>
</tr>
</table></td>
</tr>
</table>
<div align="center">
<span class="mainmenu"> <a href="http://www.carte-des-membres.com/fr/Narniens/" class="mainmenu"><img src="http://www.hostingpics.net/pics/550112Carte-membres.png" border="0" alt="Portail" hspace="3" />Carte des Narniens</a></span><span class="mainmenu"> <a href="http://www.livre-dor.net/livre.php?livredor=42853" class="mainmenu"><img src="http://www.hostingpics.net/pics/683238annonce1rz.gif" border="0" alt="Portail" hspace="3" />Signez le Livre d'Or de Narnia</a></span><span class="mainmenu"> <a href="http://www.root-top.com/topsite/narnia211206" class="mainmenu"><img src="http://img26.xooimage.com/files/b/b/9/top-site-50a8d1.png" border="0" alt="Portail" hspace="3" />Topsite de Narnia</a></span>
</div>
<br /><center><a title=" Site déposé sur CopyrightFrance.com " href="http://www.copyrightfrance.com/php/certificat.php?reference=NMBJ479"><img border="0" src="http://img356.imageshack.us/img356/3368/nmbj4791mo0.gif"></a></center>
Le problème c'est que sur certaines image l'espace est plus grand que sur d'autres, alors que les images sont identiques (je les ai faites moi-même), donc, je me demandais ce que j'avais ommis d'enlever _______________________
Xooit.com, le meilleur Hébergeur de forums!
|
|
| Membre |

|
 Offline |
Joined: 23 Dec 2005
Posts: 399
Niveau: Point(s): 343 Moyenne: 0.86
|
 |
|
 |
|
themalin |
|
| Membre |

|
 Online |
Joined: 19 Apr 2006
Posts: 42,988
Point(s): 42,477 Moyenne: 0.99 Trophées: 
|
 |
|
 |
|
néfertiti58 |
Posted: Fri 29 Aug 2008 - 21:53 Post subject: Coller les boutons de navigations |
 |
|
Merci themalin, mais est-ce normal qu'il y aie une distance différente entre certains boutons et pas d'autres ? Car c'est ce que j'ai sur mon thème de test _______________________
Xooit.com, le meilleur Hébergeur de forums!
|
|
| Membre |

|
 Offline |
Joined: 23 Dec 2005
Posts: 399
Niveau: Point(s): 343 Moyenne: 0.86
|
 |
|
 |
|
themalin |
Posted: Sat 30 Aug 2008 - 09:21 Post subject: Coller les boutons de navigations |
 |
|
oui c'est en fonction du fait que tu ait hspace="3" et une espace en plus entre les deux codes _______________________
|
|
| Membre |

|
 Online |
Joined: 19 Apr 2006
Posts: 42,988
Point(s): 42,477 Moyenne: 0.99 Trophées: 
|
 |
|
 |
|
néfertiti58 |
Posted: Sun 31 Aug 2008 - 07:12 Post subject: Coller les boutons de navigations |
 |
|
Cela fonctionne à merveille, themalin, merci beaucoup.
Par contre, j'ai toujours un espace entre groupe, s'inscrire et profil, mais dans les templates, je n'oses pas coller les codes entre-eux, car j'ai peur de faire une manip qui plantera mon index. Est-ce qu'il y a une solution pour ce léger décalage ? (s'inscrire est en dessous d'un code supplémentaire) _______________________
Xooit.com, le meilleur Hébergeur de forums!
|
|
| Membre |

|
 Offline |
Joined: 23 Dec 2005
Posts: 399
Niveau: Point(s): 343 Moyenne: 0.86
|
 |
|
 |
|
themalin |
Posted: Sun 31 Aug 2008 - 11:19 Post subject: Coller les boutons de navigations |
 |
|
ici
- Code: Sélectionner - Agrandir
<a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img2.xooimage.com/files/c/b/5/groupes-6005bc.png" border="0" alt="{L_USERGROUPS}" hspace="3" /></a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="http://img6.xooimage.com/files/d/2/4/s-inscrire-5ffaa2.png" border="0" alt="{L_REGISTER}" hspace="3" /></a></span>
<!-- END switch_user_logged_out -->
<span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu"><img src="http://img2.xooimage.com/files/e/5/3/profil-6005e3.png" border="0"
mets comme ça
- Code: Sélectionner - Agrandir
<a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img2.xooimage.com/files/c/b/5/groupes-6005bc.png" border="0" alt="{L_USERGROUPS}" hspace="3" /></a><!-- BEGIN switch_user_logged_out --><a href="{U_REGISTER}" class="mainmenu"><img src="http://img6.xooimage.com/files/d/2/4/s-inscrire-5ffaa2.png" border="0" alt="{L_REGISTER}" hspace="3" /></a></span><!-- END switch_user_logged_out --><span class="mainmenu"><a href="{U_PROFILE}" class="mainmenu"><img src="http://img2.xooimage.com/files/e/5/3/profil-6005e3.png" border="0"
_______________________
|
|
| Membre |

|
 Online |
Joined: 19 Apr 2006
Posts: 42,988
Point(s): 42,477 Moyenne: 0.99 Trophées: 
|
 |
|
 |
|
néfertiti58 |
Posted: Mon 1 Sep 2008 - 07:54 Post subject: Coller les boutons de navigations |
 |
|
C'est Nickel
Un très, très grand merci, Themalin _______________________
Xooit.com, le meilleur Hébergeur de forums!
|
|
| Membre |

|
 Offline |
Joined: 23 Dec 2005
Posts: 399
Niveau: Point(s): 343 Moyenne: 0.86
|
 |
|
 |
|