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

Mise en page CSS Discussion :

CSS ne fonctionne pas avec IE


Sujet :

CSS

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Décembre 2008
    Messages
    4
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2008
    Messages : 4
    Points : 5
    Points
    5
    Par défaut CSS ne fonctionne pas avec IE
    Bonjour,

    je suis nouveau sur le forum. Je suis étudiant en langues et e-commerce donc chef de projet en herbe.

    j'ai crée un site qui s'affiche parfaitement dans tous les navigateurs sauf dans IE. www.master2lce.fr

    IE décale mes div. Cela fait des heures que je cherche le problème mais je ne l trouve pas comme je suis débutant, je suis vraiment perdu.

    Voici ma feuille de style

    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
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    /* CSS Document */
     
    /*general*/
     
    body#bodystyle
     
                {
     
                margin-left:auto;
                margin-right:auto;
                width:750px;
     
                text-align:center; /* pour centrer dans IE*/
     
                font-family:Verdana,Arial,Helvetica,sans-serif;
                font-size:14px;
     
                }
     
     
     
    .coinArr /* ne fonctionne que sous firefox seulment*/
     
            {
     
                -moz-border-radius:10px 10px 10px 10px; 
     
            }
     
    h1   
     
            {
     
            font-family:Verdana,Arial, Helvetica, sans-serif;
            font-size:16px; 
            Color:#F2955C;
            margin:1.5em 0.63em 1.25em 0.63em;
            }    
     
    h2 
     
          {
     
            font-family:Verdana,Arial, Helvetica, sans-serif;
            font-size:12px; 
            Color:#707070;
            margin:10px;
            }    
     
    p
     
            {
     
            margin:10px 10px 5px 10px;
            line-height:1.5em;
            }
     
     
     
    .bold
     
            {
     
            font-weight:bold;
     
            }
     
     
    a.menuHV  
             {
     
                display:block;
                width:100%;
                height:100%;
     
              }       
     
     
     
    .allBorder
     
              { 
     
                border-style: solid;
                border-color:#000000;
                border-width:1px;
              }     
     
    /*info/contact*/
     
    div#info_contact
     
                {           
     
                width:750px;
                height:12px;
                text-align:right;
                font-size:10px;
                /*float:right; */
                margin:10px 0 5px 0;
                }
     
     
     
     
    /*header*/
     
    div#header
              { 
                width:750px;
                height:57px;
     
                background-image: url(image_background/Logo.jpg);
                background-repeat:no-repeat;
                background-position:center center;
     
                margin:5px 0 10px 0;
     
              }
     /*Menue horizontal*/         
     
    div#menuH
     
              {
     
                width:750px;
                height:40px;
     
                background-image: url(image_background/menuHo.gif);
                background-repeat:repeat-x;
     
                margin:0 0 20px 0;
     
              }
     
     
     
    .ulmenuH
     
                {           
                width:750px;
                height:40px;
     
                padding:0 0 0 0;
                margin:0;
     
                text-align:center;
     
                }
     
    .limenuH 
     
                {
                  display:block;
                  float:left;
                  list-style-type:none;
                  width:19.893333333%;
                  height:100%;
                  padding:0 0 0 0;
                  line-height:3em;
                 }
     
     
     
    .borderlimenuH 
     
                  {
     
                    border-style: solid;
                    border-width: 0 1px 0 0;
                    border-color:#000000;
     
                  }
     
     
     
    .linkmenuH:link {color:#000000;text-decoration:none;font-size:14px; }     
     
    .linkmenuH:visited {color:#000000;text-decoration:none;font-size:14px;}  
     
    .linkmenuH:hover {color:#ffffff;text-decoration:none;font-size:16px;}   
     
    .linkmenuH:active {color:#ffffff;text-decoration:none;font-size:16px;}   
     
    /*Menu Vertical*/
     
    div#menuV
     
              {
     
                width:150px;
                height:500px;
     
                float:left;
                background-image: url(image_background/menuV.jpg);
                background-repeat:no-repeat;
     
                margin:0 0 10px 0;
     
              }
     
    div#menuVbas
     
              {
     
                width:150px;
                height:600px;
     
                float:left;
                background-image: url(image_background/menuV.jpg);
                background-repeat:no-repeat;
     
                margin:0 0 10px 0;
     
              }
     
     
       div#menuVtab
     
              {
     
                width:150px;
                height:725px;
     
                float:left;
                background-image: url(image_background/menuV.jpg);
                background-repeat:no-repeat;
     
                margin:0 0 10px 0;
     
              }       
     
    .ulmenuV
     
                {           
                width:150px;
                height:500px;
     
                padding:0 0 0 0;
                margin:5px;
     
                text-align:left;
     
                }
    .limenuV
     
                {
                  /*display:bloc;*/
                  /*float:left;*/
                  list-style-type:none;
                  width:100%; /*width +height pour zone cliqulable)*/
                  height:5%;
                  /*padding:0 0 0 0;*/
     
                  line-height:3em;
                 }
     
                /*lien dans menu vertical*/
     
    .linkmenuV:link {color:#000000;text-decoration:none;font-size:12px; }     
     
    .linkmenuV:visited {color:#000000;text-decoration:none;font-size:12px;}  
     
    .linkmenuV:hover {color:#ffffff;text-decoration:none;font-size:12px;}   
     
    .linkmenuV:active {color:#ffffff;text-decoration:none;font-size:12px;}  
     
                /*lien page précedente*/
     
    .linkretour:link {color:#ffffff;text-decoration:none;font-size:12px; }     
     
    .linkretour:visited {color:#ffffff;text-decoration:none;font-size:12px;}  
     
    .linkretour:hover {color:#000000;text-decoration:none;font-size:12px;}   
     
    .linkretour:active {color:#000000;text-decoration:none;font-size:12px;} 
     
     
    /*Contenu*/
     
    div#contenu
     
              {
     
                width:590px;
                height:500px;
     
                float:right;
                background-image: url(image_background/contbgr.jpg);
                background-repeat:no-repeat;
                margin:0 0 10px 0px;
     
     
                text-align:left;
                font-family:Verdana,Arial,sans-serif;
                font-size:11px;
              }
     
            /*div contenu boite à savoir*/
     
    div#contenubas
     
              {
     
                width:590px;
                height:600px;
     
                float:right;
     
                margin:0 0 10px 0;
     
     
                text-align:left;
                font-family:Verdana,Arial,sans-serif;
                font-size:11px;
              }   
     
    div#contenutab
     
              {
     
                width:590px;
                height:725px;
     
                float:right;
     
                margin:0 0 10px 0;
     
     
                text-align:left;
                font-family:Verdana,Arial,sans-serif;
                font-size:11px;
              }    
     
              /*liste contenu*/ 
     
    .listcont
     
            {
            list-style-type:square;
            line-height:1.5em;
            color:#F2955C;
     
            }
     
     
    .black /*les puces restent en #F2955C */
     
     
            {
            color:#000000;
     
            }
     
    /*table + fonction javascript caricature*/
     
    table
     
          { 
          border-collapse:collapse;
          margin:auto;
          border: 1px outset black;
          text-align:left;
          }
    td
     
          {
          border: 1px solid black;
          height:200px;
          width:200px;
          padding:5px;
          }
     
    .aligncenter
     
                {
     
                text-align:center;
     
                }
     
     
     
     
    /*footer*/        
     
    div#footer
     
              {
     
                width:750px;
                height:53px;
     
                float:left;
     
                background-image: url(image_background/footer.gif);
                background-repeat:no-repeat;
                margin:5px 0 0 0;
              }
    p.footerp
                {        
     
                line-height:1em;
     
                font-family:Verdana,Arial,sans-serif;
                font-size:10px;
     
     
                margin:5px;
     
                }
     
    div#footerleft
     
                {           
                width:375px;
                height:53px;
     
                float:left;
                 text-align:right;
     
                }
    div#footerright
     
                {           
                width:375px;
                height:53px;
     
                float:right;
                text-align:left;
     
                }
     
     
     
     
    /*mentions légales*/
     
    div#mentions_legales
     
                {           
     
                width:750px;
                height:12px;
                text-align:right;
                font-size:10px;
                float:right; 
                margin:0 0 10px 0;
                }
    Merci en avance

    Webophage

  2. #2
    Modérateur
    Avatar de Bisûnûrs
    Profil pro
    Développeur Web
    Inscrit en
    Janvier 2004
    Messages
    9 868
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Janvier 2004
    Messages : 9 868
    Points : 16 258
    Points
    16 258
    Par défaut
    Salut et bienvenue sur le forum !

    Commence par mettre un DOCTYPE complet en haut de ton document, dans le tien il te manque l'URL de la DTD, ce qui fait que les navigateurs passent en mode Quirks (non Standard).

    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

  3. #3
    Futur Membre du Club
    Profil pro
    Inscrit en
    Décembre 2008
    Messages
    4
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2008
    Messages : 4
    Points : 5
    Points
    5
    Par défaut
    Bonjour,

    c'était ça le problème Merci beaucoup

    Bonne journée

    Webophage

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

Discussions similaires

  1. Réponses: 7
    Dernier message: 11/12/2014, 13h30
  2. CSS qui ne fonctionne pas avec safari uniquement
    Par sophiej1859 dans le forum Mise en page CSS
    Réponses: 5
    Dernier message: 26/06/2011, 20h07
  3. Dégradé en CSS ne fonctionne pas avec firefox
    Par mullger dans le forum Mise en page CSS
    Réponses: 7
    Dernier message: 12/12/2006, 10h42
  4. CSS ne fonctionnant pas sous IE
    Par arnaud_verlaine dans le forum Mise en page CSS
    Réponses: 18
    Dernier message: 16/11/2005, 16h51
  5. window.resizeTo ne fonctionne pas avec firefox?
    Par FrankOVD dans le forum Général JavaScript
    Réponses: 2
    Dernier message: 28/06/2005, 15h07

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