IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

Compatibilité IE7 et IE8


Sujet :

HTML

  1. #1
    Membre habitué Avatar de solorac
    Inscrit en
    Avril 2007
    Messages
    483
    Détails du profil
    Informations personnelles :
    Âge : 54

    Informations forums :
    Inscription : Avril 2007
    Messages : 483
    Points : 140
    Points
    140
    Par défaut Compatibilité IE7 et IE8
    Bonjour,

    Je viens de faire une mise à jour de windows en passant de IE7 à IE8 et là catastrophe, mon site qui fonctionnait parfaitement avec 7 est complètement décalé, les menus déroulants ne s'affichent plus... Bref la déprime totale.

    Existe-t-il un tuto spécial pour passer de 7 à 8 où dois-je retraiter l'intégralité de mon site petit à petit ?

    Je travaille beaucoup avec les feuilles de style.

    Je vous la mets en copie afin que vous puissiez m'indiquer où mon code pêche.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    /* General layouts */
    body {margin:0; padding:0; font:76% arial,verdana,sans-serif; background-color: #666666;; text-align:center;}
    img{margin:0; padding:0;}
    #container {width:890px; padding:0 20px; margin-top:38px;margin-bottom:0; background: url(images/images/corps3.jpg) no-repeat; text-align:left;}
    #container2 {width:890px; padding:0 20px; margin-top:38px;margin-bottom:0; background: url(images/images/corps3-2.jpg) no-repeat; text-align:left;}
    #container3 {width:890px; padding:0 20px; margin-top:38px;margin-bottom:0; background: url(images/site/corpsitebasegr3.jpg) no-repeat; text-align:left;}
    #container4 {width:890px; padding:0 20px; margin-top:38px;margin-bottom:0; background: url(images/site/corpsitebasegr4.jpg) no-repeat; text-align:left;}
    #container5 {width:890px; padding:0 20px; margin-top:38px;margin-bottom:0; background: url(images/site/corpsitebasegr5.jpg) no-repeat; text-align:left;}
    #corps1 {position:relative; margin-left:auto; margin-right:auto; width:858px; text-align:center; background-image:url(images/site/corpsmil.jpg); background-repeat:repeat-y;}
    #header1{height:85px; background-image: url(images/site/corpshead.jpg);background-repeat: no-repeat;position: relative; margin-left: auto;margin-right: auto; margin-top:54px; width: 858px;}
    #header2{height:85px; background-image: url(images/site/corpshead.jpg);background-repeat: no-repeat;position: relative; margin-left: auto;margin-right: auto; margin-top:38px; width: 858px;}
    #footer1{height:102px;background-image: url(images/site/corpsitefoot.jpg);background-repeat: no-repeat; position: relative; margin-left: auto;margin-right: auto; width: 858px;}
    #choix{margin-right:10px;margin-left:10px;float:none;}
    #choix1{margin-right:80px;float: right;}
    #choix2{margin-left:80px;float: left;}
    #index{margin-top:17px;}
     
    /* Tags */
    a {text-decoration:none; color:#269; font-weight:bold;}
    a:hover {text-decoration:underline; }
    p {margin:0 0 15px 0;}
    h1 {font-size:3em; letter-spacing:-2px; color: #CCCCCC; margin-top:65px; margin-left:125px;;padding:0; font-weight:normal; line-height:1.2em;}
    h1 a:hover {text-decoration:none;}
    h2 {font-size:1.6em; letter-spacing:-1px; margin-top:-5px; margin-left:150px; color:#888;padding:0; font-weight:normal; line-height:1.3em;}
    h3 {font-size:1.6em; letter-spacing:-1px; margin-top:-5px; margin-left:10px; color:#888;padding:0; font-weight:normal; line-height:1.3em;}
     
    /* Header */
    #sitetitle {float:left; height:90px; width: 100%; color: #333;}
     
    /* Main content and sidebar layout */
    #content {margin-top:46px; width:100%; clear:both;}
    #content h2 {margin:0 0 10px 0; color:#555; border-bottom:2px solid #abb;}
    #content h2 a {color:#555; font-weight:normal;}
    #content h2 a:hover {color:#269; text-decoration:none; background:none;}
    #content p {margin:0 0.5em 1.2em 0.5em;}
    #left {width:48%; float:left; line-height:1.3em; text-align:justify;margin-left:125px; margin-top:8px;}
    #left2 {width:85%; float:left; line-height:1.3em; text-align:justify;margin-left:125px; margin-top:8px;}
    #left3 {width:40%; float:left; line-height:1.3em; text-align:justify;margin-left:125px; margin-top:8px;}
    #left4 {width:85%; float:left; line-height:1.3em; text-align:justify;margin-left:125px; margin-top:1px;}
    #right {width:35%; float:right;margin-top:18px; margin-right:20px; line-height:1.3em;text-align:left;}
    #right2 {width:40%; float:right;margin-top:45px; margin-right:20px; line-height:1.3em;text-align:left;}
    #right3 {width:40%; float:right;margin-top:8px; margin-right:20px; line-height:1.3em;text-align:left;}
    #promo{float:right; margin-top:-300px; margin-right:20px;border: 5px;border-color: #ff3333;border-style: ridge;background-image: url(images/site/clic.gif);background-position: bottom;background-repeat:no-repeat;padding:0px;letter-spacing:1px; }
    #right h2 {margin:0 0 8px 0; padding:0; font-size:1.6em;}
    #corps3 {position: relative; /*Pour la position*/margin-left: auto; /*Pour centrer*/margin-right: auto; /*idem*/width: 858px; /*la largeur de ton div*/text-align: center;background-image: url(images/site/corpsitebasegr2.jpg);background-repeat:no-repeat;}	
    #site2{height:auto;text-align: left;margin-top:130px;margin-left:135px;margin-right:25px;text-align:justify;}
     
    /* Footer */
    #footer {clear:both; padding:10px 0 12px 24px; text-align:left; color:#777;background:url(images/images/corps3-bas.jpg) no-repeat;height:120px;width: 920px;margin-left:14px;}
    #footer a {color:#777; font-weight:normal;}
    #footer h2 {color:#aaa; font-size:2em; letter-spacing:-1px; margin:0; padding:0; border:0;}
    /*#footer h2 a {color:#aaa;}*/
    #footer p {margin:0; padding:0;}
    .cenfoot{width: 858px;height: 102px;line-height:102px; text-align:center; font-size :80%}
     
     
    /* Additional classes */
    .alpha{margin-left:140px;}
    .alpha2{margin-left:90px; text-align:center;}
    .entry {margin:0px 0 20px 0;background:#e6e6e6 url(images/images/entrybg2.png) repeat-x; color:#333; padding:10px 10px 0 5px; overflow:auto;}
    .colonne { float:left; height:110px;width:190px;}
    .entry2 {margin:0px 0 20px 0;background:#e6e6e6 url(images/images/entrybg2.png) repeat-x; color:#333; padding:10px 10px 0 10px;}
    .entry2 a:hover, .intro a:hover {text-decoration:none; padding-bottom:2px;  background:url(images/images/blinkarrow.gif) left no-repeat; bottom left repeat-x;}
    .entry3 {margin:0px;background:#e6e6e6 url(images/images/entrybg2.png) repeat-x; color:#333; padding:0px; overflow:auto;}
    .link {color:#269; background:url(images/images/linkarrow.gif) left no-repeat; display:block; margin:4px 0 0 0; padding:2px 1em;}
    .link:hover {color:#48b; background:url(images/images/blinkarrow.gif) left no-repeat;text-decoration:none;}
    .thumbs img {padding:2px; margin:8px; border:1px solid #fff; background-color:#ddd; color: #555;}
    .thumbs2 img {padding:2px; margin:15px; border:1px solid #fff; background-color: #CC9900; color: #33CC00;}
    .thumbs3 img {padding:1px; margin:3px; border:1px solid #fff; background-color: #CC9900; color: #33CC00;}
    .thumbs img:hover {background: url(images/images/flash.gif);}
    .thumbs2 img:hover {background: url(images/images/flash.gif);}
    .thumbs3 img:hover {background: url(images/images/flash.gif);}
    .entryphoto {margin:5px; float:left; padding:3px; border:1px solid #fff; background-color:#ddd; color:#333;}
    .pagenav {color: #777; text-align:center;}
    .subcontainer {display:block; width:98%;}
    .rightsub {float:left; width:100%;margin-top:10px;}
    .rightsub2{float:right; width:40%;margin-top:-120px;}
    .rightsub3 {float:left; width:100%;margin-top:0px;}
    .rightsub4 {float:left; width:100%;margin-top:0px;}
    .center {text-align:center;}
    .clear {clear:both;}
    .hide {display:none;}
    .mod {background: url(images/site/puce2.gif) no-repeat 0%; margin:0;padding-left: 18px;padding-top:8px;line-height:1.4em;}
    .col1{width:260px;}
    .col4{width:330px;}
    .col5{width:125px;}
    .col6{width:145px;}
    .col7{width:210px;}
    .col8{width:110px;}
    .col9{width:110px;}
    .col10{width:20px;}
    .suc {margin:0;padding-left: 20px; color: #666666;}
    .gras2{ font-weight: bold; font-size: 11px;}
    a img {border:none;}
    N'hésitez pas vos remarques sont les bienvenues

  2. #2
    Membre émérite Avatar de HiRoN
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 035
    Points : 2 589
    Points
    2 589
    Par défaut
    Bonjour,

    As-tu tenté de rajouter la meta :
    Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

  3. #3
    Membre habitué Avatar de solorac
    Inscrit en
    Avril 2007
    Messages
    483
    Détails du profil
    Informations personnelles :
    Âge : 54

    Informations forums :
    Inscription : Avril 2007
    Messages : 483
    Points : 140
    Points
    140
    Par défaut
    Tu es trop fort.
    Cela fonctionne parfaitement.
    Pourrait-tu me donner quelques explications sur ce bout de code ?
    Je te remercie encore.
    Cordialement

  4. #4
    Membre émérite Avatar de HiRoN
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 035
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 035
    Points : 2 589
    Points
    2 589
    Par défaut
    Citation Envoyé par solorac Voir le message
    Pourrait-tu me donner quelques explications sur ce bout de code ?
    Plus d'infos ici

  5. #5
    Membre habitué Avatar de solorac
    Inscrit en
    Avril 2007
    Messages
    483
    Détails du profil
    Informations personnelles :
    Âge : 54

    Informations forums :
    Inscription : Avril 2007
    Messages : 483
    Points : 140
    Points
    140
    Par défaut
    Merci

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. IE7 ou IE8 en mode compatibilité
    Par ccharvet dans le forum Général JavaScript
    Réponses: 0
    Dernier message: 07/06/2010, 17h55
  2. Compatibilité code xhtml ie8 ie7
    Par tamtit dans le forum Balisage (X)HTML et validation W3C
    Réponses: 1
    Dernier message: 24/02/2010, 16h36
  3. Forcer dans IE8 la compatibilité IE7 ?
    Par gabier dans le forum Balisage (X)HTML et validation W3C
    Réponses: 3
    Dernier message: 24/11/2009, 18h30
  4. [xhtml1.0 s]Problème de compatibilité IE7 FF
    Par MD Software dans le forum Balisage (X)HTML et validation W3C
    Réponses: 9
    Dernier message: 22/11/2007, 15h42
  5. [Compatibilité] IE7 ASP.NET VS2005 MasterPage
    Par X-Nem dans le forum Général Dotnet
    Réponses: 4
    Dernier message: 31/05/2007, 17h24

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo