tudgur | Bonjour à tous.
Il doit s'agir de mon premier post ici et j'espère ne pas me tromper d'endroit...
Passionné de mesures météo, j'ai un site qui est actualisé toutes les 5min, 24h/24 et 7j/7.
Les visiteurs utilisent de IE6 à IE9, FF, Chrome et Safari pour plus de 99%. (j'utilise Piwick qui me donne ces renseignements)
J'essaye donc de faire en sorte que mon site soit lisible dans tous les navigateurs mais j'ai un problème avec IE7.
Alors que tout est OK (ou presque !) avec les autres voici ce que j'obtiens dans IE7 :
Le bandeau bleu foncé est décalé vers la droite, l'image satellite n'est pas centrée, la vignette Météo-France n'est pas centrée...
Un autre problème semblable en bas de la même page...
Voici la partie concernée du code (soyez indulgent, je suis loin d'être un pro !) :
Code :
- <div style="margin: 0.5in auto; margin-top: -25px; width: 900px;">
- <!--div sat24-->
- <div style="margin-left: 0px; margin-top: 0px; width: 649px; height: 37px; z-index: 186; overflow: visible;" class= "bandeau_autres">
- <span>Image satellite, réactualisée toutes les 15 minutes en journée, provient de <a style="color: white; text-decoration: underline" href="http://www.sat24.com/" target="_blank">sat24.com</a><br>
- <a style="color: white; text-decoration: underline" href='javascript:fenetreCent("carte_france_sat24.html","sat24_france",1040,850,"menubar=no,scrollbars=yes,statusbar=no" )'>Voir l'animation France</a>
- <a style="color: white; text-decoration: underline" href='javascript:fenetreCent("carte_europe_sat24.html","sat24",1040,850,"menubar=no,scrollbars=yes,statusbar=no" )'>Voir l'animation Europe</a></span></div>
- <div style="margin-left: 0px; margin-top: 0px; width: 643px; height: 487px; z-index: 192; overflow: visible;" class="box_2">
- <div id="image_sat24" style="width: 623px; z-index: 191; overflow: visible; margin-top: 0px; height: 467px;" ><img style="width: 623px; height: 467px;" alt="" src="http://www.sat24.com/images.php?country=fr" hspace="10" vspace="10"> </div>
- </div>
- <!--div MF et marees-->
- <div style="margin-left: 668px; margin-top: -583px; -margin-top: -586px; width: 226px; height: 529px; padding: 0px; z-index: 180; overflow: visible;" class="box_4_900">
- <!--div MF-->
- <div id="obj_3103" style="margin-left: 38px; -margin-right: 38px; top: 13px; width: 150px; z-index: 189; overflow: visible; margin-top: 10px; height: 274px;">
- <iframe src='mf.html' frameborder='0' marginwidth='0' marginheight='0' border='0' width='150px' height='290px' scrolling='no'></iframe></div><br>
- <!--div marees-->
- <div id="obj_3104" style="margin-left: 0px; margin-top: 0px; -margin-top: -10px; width: 226px; height: 217px; -height: 227px; z-index: 190; overflow: visible;">
- <iframe src="http://horloge.maree.frbateaux.net/ws74" frameborder="0" height="217" scrolling="no" width="226">Calendrier des
- mareacute;es
- -
- horaire,
- hauteur et
- coefficient
- de
- mareacute;es</iframe>
- </div>
- </div>
- </div>
|
Et le css concerné :
Code :
- .bandeau_39 {
- margin: 0.5in auto;
- color: #fff;
- padding-top: 6px;
- padding-bottom: 8px;
- padding-left: 10px;
- padding-right: 10px;
- text-align: center;
- background-color: #3f557a;
- /* Do rounding (native in Firefox and Safari) */
- -webkit-border-top-left-radius: 10px;
- -webkit-border-top-right-radius: 10px;
- -moz-border-radius-topleft: 10px;
- -moz-border-radius-topright: 10px;
- }
- .box_2 {
- margin: 0.5in auto;
- color: #000;
- text-align: center;
- background-color: #e6edf7;
- border: 3px solid #3f557a;
- /* Do rounding (native in Firefox and Safari) */
- -webkit-border-bottom-left-radius: 10px;
- -webkit-border-bottom-right-radius: 10px;
- -moz-border-radius-bottomleft: 10px;
- -moz-border-radius-bottomright: 10px;
- }
- .boxes_int_console {
- background-color: #04306c;
- text-align: center;
- color: black;
- -webkit-border-radius: 10px;
- -moz-border-radius: 10px;
- }
- .bandeau_autres {
- text-align: center;
- background-color: #3f557a;
- padding-top: 5px;
- font-family: Arial;
- font-size: 13px;
- font-weight: bold;
- color: white;
- -webkit-border-top-left-radius: 10px;
- -webkit-border-top-right-radius: 10px;
- -moz-border-radius-topleft: 10px;
- -moz-border-radius-topright: 10px;
- }
|
Pour IE6, j'avais trouvé des "hacks", mais rien pour IE7 !!!
Si vous pouviez m'aider, ce serait sympa.
Merci à tous. ---------------
http://meteo-plouguerneau.fr
|