CSSActif, le forum, n'est plus maintenu. Il est néanmoins disponible pour consultation. Pour des outils pratiques, rendez-vous sur: Découvrez CSSActif, une collection d'outils et de tutoriels interactifs pour les développeurs Web — HTML, CSS, JavaScript et bien plus! |
| Problème pour centre dans un template. | |
| Locker
{ Membre }
Messages : 52
| Bonsoir, je viens vous demander de l'aide xD Dans le template index-body, je voulais centrer ce qu'il y a la la fin, c'est à dire les partenaires mais je n'y arrive pas =/ Voici mon template: - Spoiler:
- 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" perms="{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> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
<a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>
<a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{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" perms="{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 cellspacing="2" cellpadding="2" width="100%" border="0" class="statistiques"> <tr> <td width="15%"></td> <td width="50%"> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=4"><font color="#1A61B8"" size="2"><b>JOURNALISTES</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=3"><font color="#6B5151" size="2"><b>HABITANTS</b></font></a></span><br> <img src="http://i31.tinypic.com/mugck1.jpg"><br><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=2"><font color="#751111" size="2"><b>MAFIEUX</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=5"><font color="#2A5420" size="2"><b>MEDECINS</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=2"><font color="#3E8587" size="2"><b>POLICIERS</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=7"><font color="#554361" size="2"><b>DETECTIVES</b></font></a></span><br><br> <span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}
{NEWEST_USER}<br><br> {TOTAL_USERS_ONLINE}<br> {LOGGED_IN_USER_LIST}</center></span></br> <center><span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}
<div id="chatbox_popup"></div> <script type="text/javascript"> //<![CDATA[ insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}'); //]]> </script><br> <td width="5%"></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> <center></table></br></br></br> <table width="100%" cellspacing="20"><tbody> <tr> <td width="80%" class="bas"> <div style="height: 70px; text-align: center; overflow: auto; "><center> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /></center></div> </td><!-- 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 }); //]]> </script> <!-- END switch_fb_index_login -->
Voilà je vous ai mis en rouge ce qu'il faudrait centrer, c'est à dire qu'il faudrait que ce soit centrer le rectangle ainsi que ce qu'il y a dedans en fonction du forum ^^ Le probleme commence à là: - Code:
-
<center></table></br></br></br> <table width="100%" cellspacing="20"><tbody> et fini jusqu'à la fin ^^ Merci d'avance a qui m'aidera =D |
Dernière édition par Locker le Ven 25 Fév 2011, 19:24, édité 1 fois | |
| | | Fire-Fly
{ Membre actif }
Messages : 429
| Salut! En fait, ton code est tout à l'envers au niveau des center ><' Tu ouvres des center, tu en mets d'autres sans les fermer, donc c'Est sans doute pourquoi ça ne fonctionne pas Essais ceci: - 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" perms="{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> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <br /><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br /> <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br /> <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{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" perms="{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 cellspacing="2" cellpadding="2" width="100%" border="0" class="statistiques"> <tr> <td width="15%"></td> <td width="50%"> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=4"><font color="#1A61B8"" size="2"><b>JOURNALISTES</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=3"><font color="#6B5151" size="2"><b>HABITANTS</b></font></a></span><br> <img src="http://i31.tinypic.com/mugck1.jpg"><br><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=2"><font color="#751111" size="2"><b>MAFIEUX</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=5"><font color="#2A5420" size="2"><b>MEDECINS</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=2"><font color="#3E8587" size="2"><b>POLICIERS</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=7"><font color="#554361" size="2"><b>DETECTIVES</b></font></a></span><br><br> <span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}<br /> {NEWEST_USER}<br><br> {TOTAL_USERS_ONLINE}<br> {LOGGED_IN_USER_LIST}</center></span></br> <center><span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br /> <div id="chatbox_popup"></div> <script type="text/javascript"> //<![CDATA[ insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}'); //]]> </script><br> <td width="5%"></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> </table></br></br></br> <table width="100%" cellspacing="20"><tbody> <tr> <td width="80%" class="bas"> <div style="height: 70px; text-align: center; overflow: auto; "> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /></center></div> </td><!-- 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 }); //]]> </script> <!-- END switch_fb_index_login --> et dit moi si ça fonctionne | | |
| | | Locker
{ Membre }
Messages : 52
| Bonsoir! =D Merci de m'aider ^^ Seulement cela ne fonctionne pas, voici ce que ça me donne: - Spoiler:
Ce n'est pas centrer, le rectangle gris n'est pas centrer sur le forum =/ | | |
| | | Fire-Fly
{ Membre actif }
Messages : 429
| Bon, je viens de le regarder avec de meilleures lunette et ton template est vraiment très à l'envers. Tu pourrais me donner le lien vers ton forum pour que je puisse mieux voir ce que tu souhaites faire? La moitié de tes balises ne sont pas fermés, tu as des colonnes vides, donc je vais te faire un petit ménage mais pour être certaine de lui donner l'air que tu veux, il me faudrait un meilleur aperçu Merci! | | |
| | | Locker
{ Membre }
Messages : 52
| C'est à dire que le forum que je vais te donner est un forum Test je précise xD
Le voici: http://apple-test.forumsactifs.com/
Merci | | |
| | | Fire-Fly
{ Membre actif }
Messages : 429
| Bon, en fait j'ignore si tu voulais tout center, même le QEEL car il ne l'était pas, donc je les fait, si ce n'était pas ce que tu voulais, dit moi le je te le réarrangerai - 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" perms="{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> <!-- END switch_user_logged_in --> <!-- BEGIN switch_delete_cookies --> <br /><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a> <!-- END switch_delete_cookies --> </span> </td> <td width="50%" align="right"> <span class="gensmall"> <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br /> <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br /> <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a> <!-- BEGIN switch_on_index --> <!-- BEGIN switch_delete_cookies --> <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{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" perms="{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 cellspacing="2" cellpadding="2" width="100%" border="0" class="statistiques"> <tr> <td align="center" width="100%"> <span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=4"><font color="#1A61B8"" size="2"><b>JOURNALISTES</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=3"><font color="#6B5151" size="2"><b>HABITANTS</b></font></a></span><br> <img src="http://i31.tinypic.com/mugck1.jpg"><br><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=2"><font color="#751111" size="2"><b>MAFIEUX</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=5"><font color="#2A5420" size="2"><b>MEDECINS</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=2"><font color="#3E8587" size="2"><b>POLICIERS</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg"><span class="groupes"><a href="http://green-apple.forumsactifs.com/groupcp.forum?g=7"><font color="#554361" size="2"><b>DETECTIVES</b></font></a></span><br><br> <span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}<br /> {NEWEST_USER}<br><br> {TOTAL_USERS_ONLINE}<br> {LOGGED_IN_USER_LIST}</span></br> <span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br /> <div id="chatbox_popup"></div> <script type="text/javascript"> //<![CDATA[ insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}'); //]]> </script><br> </td> </tr> </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></br></br></br>
<center> <table width="60%" cellspacing="20"><tbody> <tr> <td align="center" width="100%" class="bas"> <div style="height: 70px; text-align: center; overflow: auto; "> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /> <img src="http://i21.servimg.com/u/f21/16/11/46/37/35842710.png" /></div> </td> </tr> </table> </center> <!-- 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 }); //]]> </script> <!-- END switch_fb_index_login -->
| | |
| | | Locker
{ Membre }
Messages : 52
| OUH YEAH! Thank you! =D J'ai l'impression que c'est centrer maintenant, vérifie s'il te pait, mais normalement c'est centrer xD
Merci beaucoup, c'est parfait for me ^^ | | |
| | | Fire-Fly
{ Membre actif }
Messages : 429
| Oui, ça me parrait bien centré tout ça N'oublie pas d'éditer ton premier message pour mettre l'icone 'résolu' si tout est à ton goût | | |
| | | Locker
{ Membre }
Messages : 52
| Oi, je le fait maintenant, merci encore ^^ | | |
| | | Psycho
Psychopathe
Messages : 3407
| Hello (: L'icône résolu est cochée, par conséquent je classe =D | | |
| | | Contenu sponsorisé
| | | | | Problème pour centre dans un template. | |
|
Sujets similaires | |
|
| Permission de ce forum: | Vous ne pouvez pas répondre aux sujets dans ce forum
| |
| |
| |
|
| Partenaires Or
|