CSS + IE = probleme help

fds
Invité n'ayant pas de compte PHPfrance

28 août 2006, 17:46

Code : Tout sélectionner

body { font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 0.8em; margin: 0; padding: 0; height:100%; } #header { height: 100px; margin-left: 10px; padding-left:0; background:url('images/banniere.jpg') no-repeat; position:relative; } #conteneur { position: absolute; width: 100%; background-color:#FFFFDF; } #gauche { position: absolute; width: 180px; padding-left:15px; margin-top:13px; } #pied { height: 60px; background-color:#FFFFDF; text-align:center; }
Voila mon menu a gauche de ce site http://bofland.moi.fr/ ne s'affiche pas au bon endroit avec iE :'( j'ai tester un truc de alsacreation qui n'a pas marché.
La partie #gauche a eds probleme d'affichage. Mon code :

Code : Tout sélectionner

<div id="gauche"> <div class="encadre"> <? $date = date("d/n/Y - H:i"); echo '<h3>'.$date.'</h3>'; ?> <hr /> <br /> <ul> <li><a href="index.php">News</a></li> <li><a href="article.php">Article</a></li> <li><a href="membre.php">Membre</a></li> ... </div></div>
Merci de votre aide

Mammouth du PHP | 19672 Messages

28 août 2006, 18:11

Pour le bloc #gauche, essaye ceci : remplace "position: absolute" par "float: left;" Ensuite, pour #pied, ajoute "clear: both;" et ça devrait rentrer dans l'ordre.
Codez en pensant que celui qui maintiendra votre code est un psychopathe qui connait votre adresse :axe:

fds
Invité n'ayant pas de compte PHPfrance

28 août 2006, 18:17

ahahah ça marche je t'en suis reconnaissant. je me casse la tete et toi en une ligne tu regle tout ça...MERCI BEAUCOUP :P