Matpatnik Posted April 24, 2007 Share Posted April 24, 2007 Hi guys,I got this page that show perfectly in FF2 but messing up a little bit with IE7.My problem is the content part it supose to valign="top" but it doesn't in IE7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Mots-X</title><link rel="stylesheet" type="text/css" href="Mots-X.css" /></head><body><table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="50%"> </td> <td width="17" class="bg_left"><img src="images/bg_left.gif" alt="" width="17" height="16" border="0" /></td> <td bgcolor="#FFFFFF" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="780"><tr> <td><img src="images/top.jpg" width="780" height="106" alt="" border="0" /></td></tr></table><table border="0" cellpadding="0" cellspacing="0" width="780"><tr valign="top"> <td colspan="2" width="560" height="196"> <table width="560" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="52" class="fonj"><img src="images/fon02.gif" alt="" width="16" height="52" /><img src="images/separator.gif" alt="" width="2" height="52" /><a href="index.php"><img src="images/but02.gif" alt="" width="83" height="52" border="0" /></a><a href="#"><img src="images/but01.gif" alt="" width="70" height="52" border="0" /></a><a href="#"><img src="images/but03.gif" alt="" width="95" height="52" border="0" /></a><a href="#"><img src="images/but04.gif" alt="" width="88" height="52" border="0" /></a><a href="#"><img src="images/but05.gif" alt="" width="90" height="52" border="0" /></a><a href="courriel.php"><img src="images/but06.gif" alt="" width="92" height="52" border="0" /></a><img src="images/hr03.gif" alt="" width="24" height="52" /></td> </tr> <tr> <td><img src="images/main1.jpg" alt="" width="560" height="144" /></td> </tr> </table> </td> <td rowspan="2" bgcolor="#D9DADC" width="220"><!-- right --><table border="0" cellpadding="0" cellspacing="0"><tr> <td><img src="images/top01.gif" width="220" height="49" alt="" border="0" /></td></tr><tr> <td class="fon_r1" height="94"> <div> <form action="validation.php" method="post"> <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr> <td class="white">Utilisateur</td> <td><input type="text" size="15" /></td></tr><tr> <td class="white">Mot de passe </td> <td><input type="password" size="15" /></td></tr><tr> <td colspan="2" align="center"><input name="valid" type="submit" id="valid" value="Validation" /></td> </tr></table> </form> </div> </td></tr><tr> <td><img src="images/top02.gif" width="220" height="27" alt="" border="0" /></td></tr><tr> <td class="fon_r2" height="64" align="center"> <div> <form action="cherche.php" method="post"> <input type="text" size="15" /> <input name="cherche" type="submit" id="cherche" value="CHERCHE" /> </form> </div> </td></tr></table><p class="mots"><a title="0 mots et synonymes">0</a> mots sur notre base de donné</p><p><a href="nouvelles.php"><img src="images/e03.gif" alt="Nouvelle" width="14" height="16" border="0" align="middle" /> Les Dernières Nouvelles</a></p><div class="left"> • La page des nouvelles est maintenant opérationnelle. Vous pouvez cliquer sur 'voir plus' pour le reste de l'information.<br /><p><a href="nouvelles.php?id=4">Voir plus</a> 2007-04-19</p> • Mots-X à été validé par <a title="Wold Wide Web Consortium">W3C</a><br /><a href="http://jigsaw.w3.org/css-validator/validator?uri=http://mots-x.matpatnik.com/"><img style="border:0;width:88px;height:31px;" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valide CSS!" /></a><a href="http://validator.w3.org/check?uri=http://mots-x.matpatnik.com/"><img src="http://www.w3.org/Icons/valid-xhtml10" style="border:0;" alt="Valide XHTML 1.0 Transitional" height="31" width="88" /></a><br /><p><a href="nouvelles.php?id=3">Voir plus</a> 2007-04-19</p> • Nous sommes présentement en construction<br /><p>2007-04-19 par: Matpatnik</p> • Mots-X est pour mots croisé. Nous avons présentement <span style="color:#FF0000;">0</span> mots dans notre banque de donné<br /><p>2007-04-19 par: Matpatnik</p></div><!-- /right --> </td></tr><!-- content --><tr valign="top"> <td width="549" bgcolor="#FFFFFF"><div align="center"><img src="images/e02.gif" width="549" height="8" alt="" border="0" /><table width="100%" bgcolor="#FFFFFF"><tr><td>2007-04-19 par: Matpatnik</td></tr><tr><td>La page des nouvelles est maintenant opérationnelle. Vous pouvez cliquer sur 'voir plus' pour le reste de l'information.</td></tr><tr><td>Vous êtes maintenant sur la page des nouvelles. Vous pouvez cliquer sur 'Voir toutes les nouvelles' ou sur 'les dernières nouvelles' pour lire les 20 dernières nouvelles de Mots-X.</td></tr><tr><td align="right"><a href="nouvelles.php">Voir toutes les nouvelles</td></tr></a></table><hr /></div> </td> <td width="11" class="fon"><img src="images/e01.gif" width="11" height="38" alt="" border="0" /></td></tr><!-- /content --></table><table border="0" cellpadding="0" cellspacing="0" width="780" class="fon_bot"><tr> <td height="47" class="copyr">Copyright ©2004 <a href="http://www.matpatnik.com/" target="_blank">Matpatnik</a></td> <td><p class="fmenu"><a href="index.php">Accueil</a> <a href="">À propos de nous </a> <a href="http://matpatnik.com/FR/Avis.htm">Avis important</a> <a href="">Services</a> <a href="courriel.php">Contacts</a> <a href="">FAQ</a></p> </td></tr></table><table border="0" cellpadding="0" cellspacing="0" width="780"><tr> <td height="20" bgcolor="#FF7D0C"><img src="images/px1.gif" width="1" height="1" alt="" border="0" /></td></tr></table> </td> <td valign="bottom" class="bg_right"><img src="images/bg_right.gif" alt="" width="17" height="16" border="0" /></td> <td width="50%"> </td></tr></table></body></html> I've tried to use the css to vertical-align the table, tr and td on top without successThank you for your help Link to comment Share on other sites More sharing options...
justsomeguy Posted April 25, 2007 Share Posted April 25, 2007 I don't have IE7 installed here so I can't check on the valign, but this:<td align="right"><a href="nouvelles.php">Voir toutes les nouvelles</td></tr></a>should be this:<td align="right"><a href="nouvelles.php">Voir toutes les nouvelles</a></td></tr> Link to comment Share on other sites More sharing options...
Matpatnik Posted April 26, 2007 Author Share Posted April 26, 2007 Thank you to pointing that out. weird that dreamweaver and the W3C validator didn't see it :)I someone can find/have an alternative to to the valign or vertical-align in css for EI7 it will be very apreciated Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.