Version complète: sur le forum Webmaster Hub : Probleme d'allignement vers le bas sous IE
Webmaster Hub > Création et exploitation de Sites Internet > Les langages du Net
kamil94
Bonjour,

Voici le lien de mon site : http://serveurro.free.fr/index.php

Le probleme c'est que le module login bug sous IE il decale le site et ca fait un effet horible ! Pourtant sous Firefox tout est impec smile.gif.

CODE
<td align="center" valign="bottom" background="images/index_r2_c8.jpg"><?php

$logue = '

<table border="0" cellpadding="0" valign="bottom" cellspacing="0" align="center">
<tr>
<td align="center"><a href="?logout=true">' . $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]</a> <td align="center"><a href="' . append_sid("forum/profile.$phpEx?mode=editprofile") . '">' . $lang['Profile'] . '</a>
  </td>
</tr>
<tr>

   </td>
</tr>
</table>';

$non_logue = '

<form action="' . $phpbb_root_path . 'login.php" method="post">  
<table border="0" cellpadding="1" cellspacing="1" align="center">
<tr>
  <td class="titre">Login : <input type="text" class="Style6" name="username" size="10" maxlength="12">   <td class="titre">Pass : <input type="password" name="password" class="Style6" size="10" maxlength="12">   <td align="center"><input type="hidden" name="redirect" value="' . $adresse_site . append_sid($redirect_login) . '"><input type="submit" value="OK" class="Style6" name="login"> <a href="inscription.php">Inscrivez-vous</a>
   </td>
</tr>
</table>
</form>';

if ( $userdata['session_logged_in'] )
{
  echo $logue;
}
else
{
  echo $non_logue;
}
?>  </td>
   <td rowspan="2" colspan="2"><img name="index_r2_c9" src="images/index_r2_c9.jpg" width="51" height="40" border="0" id="index_r2_c9" alt="" /></td>


Merci de m'aider smile.gif

PS: je rajoutel body :

CODE
body {
    background-image: url();
    background-repeat: no-repeat;
    background-color: #000000;
    margin: 0;
    padding: 0;
    margin-top: 0;
celtic
Quelques petites corrections :


$logue = '

<table border="0" cellpadding="0" valign="bottom" cellspacing="0" align="center">
<tr>
<td align="center"><a href="?logout=true">' . $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]</a> a_thumbsup_20.gif </td>
<td align="center"><a href="' . append_sid("forum/profile.$phpEx?mode=editprofile") . '">' . $lang['Profile'] . '</a>
</td>
</tr>

hypocrite.gif ça ne sert pas !
============> <tr>
============> </td>
============> </tr>

</table>';

..../.....

Tes <td> sont pas fermé :

<td class="titre">Login : <input type="text" class="Style6" name="username" size="10" maxlength="12"> a_thumbsup_20.gif </td>
<td class="titre">Pass : <input type="password" name="password" class="Style6" size="10" maxlength="12"> a_thumbsup_20.gif </td>
<td align="center"><input type="hidden" name="redirect" value="' . $adresse_site . append_sid($redirect_login) . '"><input type="submit" value="OK" class="Style6" name="login"> <a ref="inscription.php">Inscrivez-vous</a> a_thumbsup_20.gif </td>
kamil94
C'est bon c'est corrigé smile.gif mais le probleme n'est toujours pas résolue... sad.gif ca fait toujours ce fichu bug d'affichage

Voici le nouveau code :

CODE
<td align="center" valign="middle" background="images/index_r2_c8.jpg"><DIV ALIGN=down></DIV>
  
   <?php

$logue = '

<table border="0" cellpadding="0" valign="bottom" cellspacing="0" align="center">
<tr>
<td align="center"><a href="?logout=true">' . $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]</a></td>
<td align="center"><a href="' . append_sid("forum/profile.$phpEx?mode=editprofile") . '">' . $lang['Profile'] . '</a>
</td>
</tr>
</table>';

$non_logue = '

<form action="' . $phpbb_root_path . 'login.php" method="post">  
<table border="0" cellpadding="1" cellspacing="1" align="center">
<tr>
  <td class="titre">Login : <input type="text" class="Style6" name="username" size="10" maxlength="12"></td>   <td class="titre">Pass :<input type="password" name="password" class="Style6" size="10" maxlength="12"></td>   <td align="center"><input type="hidden" name="redirect" value="' . $adresse_site . append_sid($redirect_login) . '"><input type="submit" value="OK" class="Style6" name="login"> <a href="inscription.php">Inscrivez-vous</a></td>
   </td>
</tr>
</table>
</form>';

if ( $userdata['session_logged_in'] )
{
  echo $logue;
}
else
{
  echo $non_logue;
}
?>
   <td rowspan="2" colspan="2"><img name="index_r2_c9" src="images/index_r2_c9.jpg" width="51" height="40" border="0" id="index_r2_c9" alt="" /></td>
Ceci est une version "bas débit" de notre forum. Pour voir la version complète avec plus d'information, la mise en page et les images, veuillez cliquer ici.