Besoin d'aide pour codage
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
Besoin d'aide pour codage
Détails techniques
Version du forum : phpBB2
Poste occupé : Administrateur
Navigateur(s) concerné(s) : Google Chrome
Personnes concernées par le problème : Moi uniquement
Lien du forum : http://sangsmelesoriginels.forumactif.com/
Description du problème
BonjourJe vous remercie d'avance pour l'aide que vous pourrez m'apporter. Je rencontre deux problèmes survenus au moment de l'installation du QEEL.
1. Les liens "Marquer tous les forums comme lus" et "Supprimer les cookies du forum" se sont décaler quand j'ai installé le QEEL. Le premier est allé se coller à gauche et le second est allé se coller à droite. Ils touchent tous les deux le bord du forum alors que normalement ils sont un peu écartés.
2. Les groupes sur le QEEL se sont placés en dehors de l'image. Je n'arrive pas à les mettre en bas de l'image, par dessus.
Voici une image pour vous aider à comprendre.
Le code template index-body
- Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN message_admin_titre -->
<tr>
<td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
</tr>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<tr>
<td class="row1" rowspan="3" align="center" valign="middle">
<div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
</td>
</tr>
<!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<!-- BEGIN switch_fb_connect_no -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td class="row1" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect_no -->
<!-- BEGIN switch_fb_connect -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td valign="top" width="100%" class="row1" align="center">
<table width="100%">
<tr>
<td width="55%" valign="middle" align="right">
<table class="right">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
<td width="10%" align="center" valign="middle">
<span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
</td>
<td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_delete_cookies -->
<br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
<!-- END switch_delete_cookies -->
</td>
<td width="50%" align="right">
<span class="gensmall">
<!-- BEGIN switch_on_index -->
<!-- BEGIN switch_delete_cookies -->
<br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
<!-- END switch_delete_cookies -->
<!-- END switch_on_index -->
</span>
</td>
</tr>
</table>
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<!-- BEGIN switch_fb_connect_no -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td class="row1" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect_no -->
<!-- BEGIN switch_fb_connect -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td valign="top" width="100%" class="row1" align="center">
<table width="100%">
<tr>
<td width="55%" valign="middle">
<table class="right">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
<td width="10%" align="center" valign="middle">
<span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
</td>
<td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div class="QEEL">
<!-- TITRE -->
<div class="tleQEEL"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
</div>
<!-- STATISTIQUES -->
<div class="stsQEEL">{NEWEST_USER}<br/>{TOTAL_POSTS}<br/>{TOTAL_USERS}</div>
<!-- EN LIGNE -->
<div class="onlineQEEL">
<table>▬ <b>En ligne</b> : <span id="LINEUS">{LOGGED_IN_USERS_LIST}</span>
<script type="text/javascript">document.getElementById('LINEUS').innerHTML=document.getElementById('LINEUS').innerHTML.replace(/Utilisateurs enregistrés :/,"");
</script></table></div>
<!-- ANNIVERSAIRES -->
<!--<div class="anvQEEL">Anniversaires<div>
<table>{L_WHOSBIRTHDAY_TODAY} {L_WHOSBIRTHDAY_WEEK}
</table></div></div>-->
<div class="dayQEEL">
<table>{L_CONNECTED_MEMBERS}
</table></div></div>
<!-- GROUPES -->
<div class="blocGQEEL">{GROUP_LEGEND}</div>
</td></tr></table>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
<tr>
<td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td></td>
<td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
<!-- END switch_legend -->
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
status: true,
cookie: true,
xfbml: true,
oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->
Et le CSS :
- Code:
/* GENERAL */
body
{
background-image: url(https://img15.hostingpics.net/pics/935376fond.jpg) no-repeat; /* motif du fond de page */
background-attachement: fixed;
}
a:link, a:hover
{
text-decoration : none !important;
}
.bodylinewidth
{
position: relative;
z-index: 3;
}
#page-body /* mise en forme du corps de page */
{
width: 950px;
background: url(https://img15.hostingpics.net/pics/155243463.jpg);
border-top: 5px solid #d4a450;
border-bottom: 5px solid #d4a450;
border-right: 4px solid #d4a450;
border-left: 4px solid #d4a450;
box-shadow: 0px 0px 10px #000000;
}
a.mainmenu
{
font-family: 'Alegreya Sans SC', sans-serif;
letter-spacing: 2px;
}
.maintitle
{
position: absolute;
z-index: 4;
width: 100%;
height: 307px;
background: url(https://img4.hostingpics.net/pics/120543258267ecriture1.png) center center no-repeat; /* image du titre */
top: 0;
left: 0;
margin-top: 315px;
}
.forumline /* mise en forme des blocs et tables par defaut du forum */
{
width: 98%;
margin: auto;
background: #e8e8e6;
border: 1px solid #ffffff;
margin: 10px auto;
}
.table
{
width: 98%;
margin: auto;
}
/* CATEGORIES */
/* Mise en forme du "bloc" qui contient le titre */
.TitreCategorie {
background: #610B0B; /*fond*/
/* Des coins arrondis */
border-radius:50px 50px 0 0;
-moz-border-radius:50px 50px 0 0;
-wekbit-border-radius:50px 50px 0 0;
width: 320px; /*largeur à modifier selon vos goûts*/
margin-left: 297px; /* on centre le bloc */
padding:2px; /*espace entre la bordure et le texte*/
border:1px solid #C49E20;
border-bottom:0px;
}
/* mise en forme du titre lui-même */
.TitreCategorie h2 {
margin:0; /* le titre a des marges par défaut, pour éviter de 'casser' nos réglages, on remet à zéro ici */
text-align: center; /*alignement du texte par rapport au bloc qui le contient */
letter-spacing:2px; /* espacement entre les lettres */
color:#C49E20; /* couleur du texte */
font-family: Nuncio, Geneva, Tahoma, Verdana, sans-serif;
font-size:23px;
font-weight : bold;
}
.forum /*cadre du forum sous titre catégorie*/
{ border-radius:30px 30px 0 0;
-moz-border-radius:30px 30px 0 0;
-wekbit-border-radius:30px 30px 0 0;
border: 2px solid #9B6F1B;
height: 150px;
width: 54%;
margin-bottom: 10px;
margin-left: 200px;
}
.forum_titre /*comme Le Grimoire sacré*/
{ margin: 15px 0 0 24px;
margin-left: 25px;
position: absolute;
}
.forum:nth-child(2n+1) .description {
margin-left: 0;
}
.forum:nth-child(2n+1) .description_texte {
margin-left: 265px;
}
.forum:nth-child(2n+1) .block {
margin-left: 250px;
}
.forum:nth-child(2n+1) .forum_titre {
margin-left: 250px;
}
.forum_titre a
{
display: block;
font-family: 'Alegreya Sans SC', sans-serif;
font-size: 15px;
letter-spacing: 2px;
font-weight: normal;
text-shadow: 1px 1px 0px #000000;
color: #9B6F1B !important;
transition: 200ms;
}
.forum_titre a:hover
{
color: #eee37c !important;
transition: 200ms;
}
.icone_forum /*place les cadres des forums*/
{
position: absolute;
margin: 35px 0 0 -40px;
z-index: 8;
}
.sous_forum
{
position: absolute;
height: 170px;
margin: 15px 20px 0 -195px;
text-align: center;
overflow: auto;
}
.sous_forum a.gensmall
{
display: inline-block;
float: right;
width: 180px;
height: 18px;
padding-top: 2px;
background-image: url(https://i58.servimg.com/u/f58/19/65/31/91/textur12.jpg);
color: #C49E20;
transition: 200ms;
border-left:1px solid #000000;
border-right:1px solid #000000;
}
.sous_forum a.gensmall:hover
{
opacity: 0.8;
}
.description
{
position: absolute;
width: 200px;
height: 170px;
margin: 5px 0 0 250px;
}
.description_img
{
position: absolute;
width: 615px;
height: 151px;
border-radius:35px 35px 0 0;
-moz-border-radius:50px 50px 0 0;
margin-left: -252px;
margin-top: -6px;
}
.descriptiongestion_img
{
position: absolute;
width: 189px;
height: 116px;
border-radius:35px 35px 0 0;
-moz-border-radius:50px 50px 0 0;
margin-left: 45px;
margin-top: 15px;
}
.block {
position: absolute;
background: #ffffff;
opacity: 0.3;
height: 105px;
width: 250px; /*largeur à modifier selon vos goûts*/
margin-left: 10px; /* on centre le bloc */
margin-top: 38px;
}
.description_texte
{ position: absolute;
height: 170px;
width: 200px;
font-family: 'Alegreya Sans SC', sans-serif;
font-size: 12px;
text-align: justify;
margin-left: -200px;
padding-top: 45px;
}
.last_message /*les titres des derniers messages à droite*/
{
position: absolute;
background: url(https://img15.hostingpics.net/pics/116930Fond.png) no-repeat;
height: 90px;
width: 190px;
margin-top: 25px;
margin-left: 520px;
text-align: center;
padding-top: 15px;
padding-right: -5px;
}
.last_message a
{
font-family: 'Quicksand', sans-serif;
font-weight: bold;
font-style: italic;
}
.last_message a.gensmall
{
font-size: 16px;
}
.lastpost-avatar
{
position: absolute;
float: none;
width: 120px;
height: 120px;
top: 0;
left: 0;
padding: 0;
margin-left: -158px;
margin-top: -23px;
border-radius: 150px;
overflow: hidden;
opacity: 0;
transition: 200ms;
}
.last_message:hover .lastpost-avatar
{
opacity: 1;
transition: 200ms;
}
.lastpost-avatar img
{
width: 140px;
height: auto;
margin-top: -30px;
margin-left: -10px;
}
.topictitle
{
font-family: 'Alegreya Sans SC', sans-serif;
font-size: 16px;
letter-spacing: 1px;
font-weight: normal;
}
/* MESSAGES */
.mess_options
{
position: absolute;
width: 95%;
margin-top: -26px;
text-align: right;
}
.detail_mess
{
display: block;
text-align: right;
font-family: 'Alegreya Sans SC', sans-serif;
font-size: 11px;
}
.rang
{
position: absolute;
z-index: 6;
margin-left: -20px;
margin-top: -30px;
}
.pseudo
{
position: relative;
z-index: 7;
display: block;
margin-top: 15px;
text-align: center;
font-family: 'Alegreya Sans SC', sans-serif;
font-weight: bold;
font-size: 24px;
text-shadow: 1px 1px 0px #ffffff;
}
.avatar_cadre
{
position: relative;
z-index: 6;
width: 219px;
height: 339px;
margin: -20px auto 0 auto;
background: url(http://img4.hostingpics.net/pics/611666fondavatar.png);
}
.avatar_contenu
{
position: absolute;
margin: 8px 0 0 9px;
}
.online_img
{
position: absolute;
z-index: 5;
width: 342px;
height: 467px;
background: url(http://img4.hostingpics.net/pics/456987offline.png);
margin-left: -80px;
}
.mess_contenu
{
position: relative;
z-index: 6;
width: 96%;
min-height: 350px;
margin: auto;
padding: 10px;
background: #ffffff;
box-shadow: 0px 0px 5px #000000;
text-align: justify;
}
.profil_bloc
{
position: absolute;
z-index: 7;
background: #141414;
width: 190px;
height: 310px;
padding: 5px;
margin-top: -331px;
margin-left: 9px;
text-align: center;
font-size: 13px;
color: #e8e8e6;
overflow: auto;
opacity: 0;
transition: 200ms;
}
.profil_bloc .label
{
display: block;
text-align: center;
font-family: 'Alegreya Sans SC', sans-serif;
font-size: 18px;
color: #424242;
}
.profil_bloc:hover
{
opacity: 1;
transition: 200ms;
}
.sondage
{
width: 500px;
margin: auto;
background: #e8e8e6;
border: 1px solid #ffffff;
text-align: center;
}
.progress-bar td
{
float: left;
cellpadding: 0 !important;
cellspacing: 0 !important;
border: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
.quote, .spoiler_closed, .spoiler_content
{
background: #e8e8e6;
border: 1px solid #cdad58;
color: #5c441e;
padding: 5px;
}
.code
{
background: #141414;
border-left: 1px solid #b58832;
border-right: 1px solid #b58832;
border-top: 3px solid #b58832;
border-bottom: 3px solid #b58832;
color: #eee37c;
padding: 5px;
}
/* QEEL */
.QEEL {
margin:auto; width:930px; height:400px;
margin-top: 10px;
background:url(https://img15.hostingpics.net/pics/823886893.jpg); font-family:Arial; /* MODIFIABLE */
}
/* BLOC TITRE QEEL */
.tleQEEL {
padding:10px 10px 10px 10px;
box-shadow:inset 0 0 25px rgba(0,0,0,0.3); /* MODIFIABLE */
text-transform:uppercase; text-align:left;
}
/* TITRE QEEL */
.tleQEEL a{
font-size:32px;
color:white; /* MODIFIABLE */
}
/* STATISTIQUES QEEL */
.stsQEEL {
position:absolute; margin-left:329px; margin-top:15px;
width:260px; height:205px; padding:5px; overflow:hidden; border-radius:10px;
background:rgba(250,250,250,0.6); box-shadow:0 0 3px rgba(0,0,0,0.3); color:black; /* MODIFIABLE */
text-align:center; font-size:11px;
}
/* MEMBRES CONNECTES QEEL */
.onlineQEEL {
position:absolute; margin-top:15px; margin-left:25px;
width:260px; height:205px; border-radius:10px; padding:5px; overflow:auto;
background:rgba(250,250,250,0.6); box-shadow:inset 0 0 3px rgba(0,0,0,0.3); color:black; /* MODIFIABLE */
font-size:11px;
}
/* 24H QEEL */
.dayQEEL {
position:absolute; margin-left:633px; margin-top:15px;
width:260px; height:205px; padding:5px; overflow:auto; border-radius:10px;
background:rgba(250,250,250,0.6); /* MODIFIABLE */
}
.dayQEEL .row1 {
background:none; padding:0;
}
/* COULEUR TEXTE 24H QEEL */
.dayQEEL .row1 .gensmall {
font-family:Arial; color:black; /* MODIFIABLE */
}
/* BLOC GROUPES QEEL */
.blocGQEEL {
width:900px; padding:5px 0;
text-align:center; color:rgba(0,0,0,0);
font-family:Arial; /* MODIFIABLE */
}
/* GROUPES QEEL */
.blocGQEEL a {
font-size:14px; font-weight:bold; text-transform:uppercase;
}
/* Fin QEEL */
/* footer*/
#blocfooter img:hover {
-webkit-animation-origin: center center;
-moz-animation-origin: center center;
-ms-animation-origin: center center;
-o-animation-origin: center center;
animation-origin: center center;
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
transform: scale(1.2);
}
#page-footer a
{
font-size: 10px;
}
#page-footer div
{
text-align: right;
}
/* TITRES SAISIE ET BOUTONS */
td.catHead, th.thHead, .thSides, .cattitle
{
font-family: 'Mr Dafoe', cursive;
font-size: 26px;
font-weight: normal !important;
color: #87652a;
}
h1, h1.pagetitle
{
font-size: 28px;
}
input, textarea, select
{
border: 1px solid transparent;
background: #ffffff;
padding: 3px;
color: #757575;
transition: 200ms;
}
input:focus, textarea:focus, select:focus
{
border: 1px solid #cdad58;
color: #424242;
transition: 200ms;
}
#text_editor_iframe, .sceditor-container iframe, .sceditor-container textarea
{
width: 98% !important;
}
.mainoption, .liteoption, input.button
{
margin: 10px;
background: #b58832;
color: #5c441e !important;
cursor: pointer;
border: 1px solid #87652a;
text-shadow: 1px 1px 0px #cdad58;
transition: 200ms;
}
.mainoption:hover, .liteoption:hover, input.button:hover
{
background: #cdad58;
text-shadow: 1px 1px 0px #eee37c;
transition: 200ms;
}
.postbody
{
text-align: justify;
font-size: 14px;
}
.pourcentback img
{
background: #b58832;
}
/* RETRAIT DES BORDURES */
.row3Right
{
border: none !important;
}
.thHead
{
border: none !important;
}
.thCornerL, .thCornerR, .thTop
{
border: none !important;
}
.thLeft, .thRight
{
border-left: none !important;
border-right: none !important;
}
.catLeft, .catRight
{
border: none! important;
}
.catHead
{
border: none !important;
}
.catBottom
{
border: none !important;
}
/*-------------------------code tout sélectionner--------------*/
.selectCode { float:right; text-transform: uppercase; cursor:pointer; }
div.cont_code { clear: right; }
/*************** fin code ******************/
/*********************** titre CB **********************/
#chatbox_header .catBottom .cattitle { content: "Rejoignez-nous sur la ";
}
#chatbox_header .cattitle:before {content: "La"" Crypte"" des"" Langues"" Pendues";
font-family: Nuncio;
padding-left: 10px;}
#chatbox_header .cattitle strong { visibility: hidden;}
#chatbox_header, #chatbox_header.main-head {
background: url(https://img15.hostingpics.net/pics/407173Sanstitre3.jpg);
height: 50px;
}
.chatbox a.cattitle, .chatbox-title, .chatbox-title a.chat-title {
color: white !important;
}
#chatbox_members {
background: url(https://img4.hostingpics.net/pics/776691Sanstitre5.jpg);
margin-top: 20px;
border-right: none;
}
#chatbox_members .member-title {
background: none;
color: #920101;
}
.msg span[style="color:green"] strong {
color: #920101;
}
.msg span[style="color:red"] strong {
color: #011A8C;
}
#chatbox {
background: url(http://image.noelshack.com/fichiers/2017/25/4/1498161616-3.jpg);
margin-top: 20px;
border-left: none;
}
#chatbox_messenger .catBottom, body.chatbox, #chatbox_footer {
background: url(https://img15.hostingpics.net/pics/691651Sanstitre2.jpg);
}
#chatbox p {
border: none !important;
}
#chatbox_footer #message {
background: white;
padding-bottom: 10px;
}
#chatbox_footer {
min-height: 33px;
}
.chatbox-options a, .chatbox-options li, .chatbox-options li a, .chatbox-options li label {
color: white;
padding-top: 10px;
}
.date-and-time {
display: none;
}
#chatbox .cb-avatar {
width: auto !important;
height: auto !important;
}
#chatbox .cb-avatar > img {
width: auto !important;
height: auto !important;
max-width: 30px; /*largeur maximale des avatars dans la cb*/
max-height: 40px; /*hauteur maximale des avatars dans la cb*/
}
J'espère que cela vous suffira pour m'aider.
Dernière édition par L'ange noir le Dim 2 Juil 2017 - 22:29, édité 1 fois
Re: Besoin d'aide pour codage
Bonjour L'ange noir, vous pouvez ajouter ceci à votre CSS :
Bien à vous.
- Code:
a.gensmall[href="/?mode=delete_cookies"]{padding-right:10px;}
a.gensmall[href="/?mark=forums"]{padding-left:10px;}
Bien à vous.
Re: Besoin d'aide pour codage
Merci beaucoup Jay. Le premier souci est réglé. C'est vraiment gentil de m'avoir aidé.
Il me reste le second. J'ai réussi à mettre les groupes plus haut. Mais voilà comment j'ai codé :
Mais j'ai mis le margin-top en négatif pour y arriver. Est ce que cela risque quelque chose en agissant comme ça ?
Il me reste le second. J'ai réussi à mettre les groupes plus haut. Mais voilà comment j'ai codé :
- Code:
/* BLOC GROUPES QEEL */
.blocGQEEL {
width:930px; padding:5px 0;
margin-top: -40px;
text-align:center; color:rgba(0,0,0,0);
font-family:Arial; /* MODIFIABLE */
Mais j'ai mis le margin-top en négatif pour y arriver. Est ce que cela risque quelque chose en agissant comme ça ?
Re: Besoin d'aide pour codage
Bonjour, désolé, je n'avais pas vu qu'il y avait 2 problèmes...
Mettez plutôt votre template comme ceci :
Et votre CSS comme ceci :
Bien à vous.
Mettez plutôt votre template comme ceci :
- index_body:
- Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN message_admin_titre -->
<tr>
<td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
</tr>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<tr>
<td class="row1" rowspan="3" align="center" valign="middle">
<div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
</td>
</tr>
<!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<!-- BEGIN switch_fb_connect_no -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td class="row1" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect_no -->
<!-- BEGIN switch_fb_connect -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td valign="top" width="100%" class="row1" align="center">
<table width="100%">
<tr>
<td width="55%" valign="middle" align="right">
<table class="right">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
<td width="10%" align="center" valign="middle">
<span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
</td>
<td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_delete_cookies -->
<br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
<!-- END switch_delete_cookies -->
</td>
<td width="50%" align="right">
<span class="gensmall">
<!-- BEGIN switch_on_index -->
<!-- BEGIN switch_delete_cookies -->
<br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
<!-- END switch_delete_cookies -->
<!-- END switch_on_index -->
</span>
</td>
</tr>
</table>
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<!-- BEGIN switch_fb_connect_no -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td class="row1" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect_no -->
<!-- BEGIN switch_fb_connect -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
<tr>
<td valign="top" width="100%" class="row1" align="center">
<table width="100%">
<tr>
<td width="55%" valign="middle">
<table class="right">
<tr>
<td><span class="genmed">{L_USERNAME}:</span> </td>
<td><input class="post" type="text" size="10" name="username"/> </td>
<td>
<input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
<span class="gensmall">{L_AUTO_LOGIN}</span>
</td>
</tr>
<tr>
<td><span class="genmed">{L_PASSWORD}:</span> </td>
<td><input class="post" type="password" size="10" name="password"/> </td>
<td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
</td>
<td width="10%" align="center" valign="middle">
<span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
</td>
<td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->
<!-- BEGIN disable_viewonline -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><div class="QEEL">
<!-- TITRE -->
<div class="tleQEEL"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
</div>
<!-- STATISTIQUES -->
<div class="stsQEEL">{NEWEST_USER}<br/>{TOTAL_POSTS}<br/>{TOTAL_USERS}</div>
<!-- EN LIGNE -->
<div class="onlineQEEL">
<table>▬ <b>En ligne</b> : <span id="LINEUS">{LOGGED_IN_USERS_LIST}</span>
<script type="text/javascript">document.getElementById('LINEUS').innerHTML=document.getElementById('LINEUS').innerHTML.replace(/Utilisateurs enregistrés :/,"");
</script></table></div>
<!-- ANNIVERSAIRES -->
<!--<div class="anvQEEL">Anniversaires<div>
<table>{L_WHOSBIRTHDAY_TODAY} {L_WHOSBIRTHDAY_WEEK}
</table></div></div>-->
<div class="dayQEEL">
<table>{L_CONNECTED_MEMBERS}
</table></div>
<!-- GROUPES -->
<div class="blocGQEEL">{GROUP_LEGEND}</div></div>
</td></tr></table>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
<tr>
<td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td></td>
<td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td> </td>
<td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
<!-- END switch_legend -->
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
status: true,
cookie: true,
xfbml: true,
oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->
Et votre CSS comme ceci :
- CSS QEEL:
- Code:
/* QEEL */
.QEEL {
margin:auto; width:930px; height:400px;
margin-top: 10px;
background:url(https://img15.hostingpics.net/pics/823886893.jpg); font-family:Arial; /* MODIFIABLE */
}
/* BLOC TITRE QEEL */
.tleQEEL {
padding:10px 10px 10px 10px;
box-shadow:inset 0 0 25px rgba(0,0,0,0.3); /* MODIFIABLE */
text-transform:uppercase; text-align:left;
}
/* TITRE QEEL */
.tleQEEL a{
font-size:32px;
color:white; /* MODIFIABLE */
}
/* STATISTIQUES QEEL */
.stsQEEL {
position:absolute; margin-left:329px; margin-top:15px;
width:260px; height:205px; padding:5px; overflow:hidden; border-radius:10px;
background:rgba(250,250,250,0.6); box-shadow:0 0 3px rgba(0,0,0,0.3); color:black; /* MODIFIABLE */
text-align:center; font-size:11px;
}
/* MEMBRES CONNECTES QEEL */
.onlineQEEL {
position:absolute; margin-top:15px; margin-left:25px;
width:260px; height:205px; border-radius:10px; padding:5px; overflow:auto;
background:rgba(250,250,250,0.6); box-shadow:inset 0 0 3px rgba(0,0,0,0.3); color:black; /* MODIFIABLE */
font-size:11px;
}
/* 24H QEEL */
.dayQEEL {
position:absolute; margin-left:633px; margin-top:15px;
width:260px; height:205px; padding:5px; overflow:auto; border-radius:10px;
background:rgba(250,250,250,0.6); /* MODIFIABLE */
}
.dayQEEL .row1 {
background:none; padding:0;
}
/* COULEUR TEXTE 24H QEEL */
.dayQEEL .row1 .gensmall {
font-family:Arial; color:black; /* MODIFIABLE */
}
/* BLOC GROUPES QEEL */
.blocGQEEL {
margin-top:32%;
width:900px; padding:5px 0;
text-align:center; color:rgba(0,0,0,0);
font-family:Arial; /* MODIFIABLE */
}
/* GROUPES QEEL */
.blocGQEEL a {
font-size:14px; font-weight:bold; text-transform:uppercase;
}
/* Fin QEEL */
Bien à vous.
Re: Besoin d'aide pour codage
Merci beaucoup. Tout est réglé.
Merci infiniment.
Merci infiniment.
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