QEEL mal centré voire... Pas du tout
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
QEEL mal centré voire... Pas du tout
Bonjour,
actuellement nous avons joué dans les templates du forum... D'abord pour mettre un overflow sur les catégories (templates index_box), puis enlever « top 20 des posteurs » « Marquer comme non-lu ». Après cette dernière opération nous avons un petit soucis...
Ce qui est (vraiment très mal) encercler en bleu est censé être centrer, or il ne l'est pas et je n'arrive pas à résoudre ce problème...
Voici le code du templates :
Index_Body :
CSS QEEL :
Index_box (si jamais) :
J'espère être clair.
Merci beaucoup ♥♥♥
actuellement nous avons joué dans les templates du forum... D'abord pour mettre un overflow sur les catégories (templates index_box), puis enlever « top 20 des posteurs » « Marquer comme non-lu ». Après cette dernière opération nous avons un petit soucis...
- Spoiler:
Ce qui est (vraiment très mal) encercler en bleu est censé être centrer, or il ne l'est pas et je n'arrive pas à résoudre ce problème...
Voici le code du templates :
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">
<!-- 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 -->
<center><table class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0"><div style="width: 700px;">
<div class="titreqeel">Qui est en ligne ?</div>
<br />
<tr><nobr><div class="groupes"><center>
<font color="#0E89F5">I'm flesh and bones</font> <font color="#C70000">I need blood</font> <font color="#6E7042">I kill them all</font> <font color="#D6CB33">I protect nature</font><br> <font color="#0C6113">I'm both, vampire and werewolf</font> <font color="#F27C0E">I'm cursed by the moon</font> <font color="#A80A9D">I'm just a civilian</font></center></div>
</nobr></tr>
<tr>
<td><div class="cadreqeel" style="margin-left: 20px;"><div class="boite10" style="margin-left: 20px;">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}<br />
{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
</div></div></td>
<td><img src="http://img15.hostingpics.net/pics/731369QEEL.png" class="imgqeel"/></td>
<td><center><div class="cadreqeel1"><div class="boite10">{LOGGED_IN_USER_LIST}</div></div></td>
</tr>
<br />
<table class="trans" style="margin-top: 20px; background-color: #080e12; color: #CDDAF5; padding: 15px; width: 500px; height: 70px; overflow: auto;
text-align: justify; font-family: arial; font-size: 10px; -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px; margin-top: -1px;"><div class="cadreqeel12">{L_CONNECTED_MEMBERS}</div></table>
<br /><a href="http://www.never-utopia.com" style="color: #918E86 !important; font-size: 9px; font-family: arial;">© By Halloween sur Never Utopia</a>
</div></table></center>
<!-- 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>
</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 -->
CSS QEEL :
- Code:
.cadre {
height: 140px;
border: 3px solid black;
display: block;
padding-left: 10px;
padding-right: 10px;
text-align:justify;
line-height: 12px;
background-color: #161C1F;
box-shadow:0px 0px 3px black;
}
Index_box (si jamais) :
- Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr></table><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="50" /></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" alt="." /></td>
<!-- END 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}" />
</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><br />
</span>
</h{catrow.forumrow.LEVEL}>
<table width="100%"><tr><td class="sep" width="70%"><div><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div></td>
<td><div width="30%" class="sousfo" ><span class="gensmall" id="subforums">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span><script type="text/javascript">
jQuery('#subforums').html(jQuery('#subforums').html().replace(/, /g,'<br /> ')).removeAttr('id');
</script></div></td></tr></table>
<span class="gensmall">
</span>
</td>
<td class="row3 over" align="center" valign="middle" height="100">
<div class="lastpost">{catrow.forumrow.LAST_POST}</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 -->
<script type="text/javascript">
jQuery('#subforums').html(jQuery('#subforums').html().replace(/, /g,'<br /> ')).removeAttr('id');
</script><!-- END catrow -->
J'espère être clair.
Merci beaucoup ♥♥♥
Dernière édition par C. Hook le Jeu 7 Aoû 2014 - 7:58, édité 1 fois
Re: QEEL mal centré voire... Pas du tout
Bonjour,
Juste avant <div class="titreqeel">
modifie <div style="width: 700px;"> par <div style="width: 700px; margin-left: auto; margin-right: auto;">
Puis la table trans par ceci
<table class="trans" style="background-color: rgb(8, 14, 18); color: rgb(205, 218, 245); padding: 15px; width: 500px; height: 70px; overflow: auto; font-family: arial; font-size: 10px; border-radius: 50px; margin-top: -1px; text-align: justify; margin-left: auto; margin-right: auto;">
Juste avant <div class="titreqeel">
modifie <div style="width: 700px;"> par <div style="width: 700px; margin-left: auto; margin-right: auto;">
Puis la table trans par ceci
<table class="trans" style="background-color: rgb(8, 14, 18); color: rgb(205, 218, 245); padding: 15px; width: 500px; height: 70px; overflow: auto; font-family: arial; font-size: 10px; border-radius: 50px; margin-top: -1px; text-align: justify; margin-left: auto; margin-right: auto;">
Re: QEEL mal centré voire... Pas du tout
Tout est parfait \O/ Mercii beaucoup !! ♥
Sujets similaires
» QEEL Enlevé et forum tout bizarre
» Mon forum est tout centré !
» Tout est centré?!? {Résolu, Merci!}
» Mettre une image tout a gauche et le texte tout à droite
» Pa/Catégorie/Qeel ne sont pas centré
» Mon forum est tout centré !
» Tout est centré?!? {Résolu, Merci!}
» Mettre une image tout a gauche et le texte tout à droite
» Pa/Catégorie/Qeel ne sont pas centré
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