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 :

Compatibilité css internet explorer


Sujet :

CSS

  1. #1
    Débutant  
    Profil pro
    Inscrit en
    Février 2007
    Messages
    356
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2007
    Messages : 356
    Points : 99
    Points
    99
    Par défaut Compatibilité css internet explorer
    bonjour,

    sur mon site : http://icreatorbeta.free.fr/
    et oui encore

    je travaille uniquement sur ma page d'accueil, sur le positionnement de mon diaporama.

    Ma page est quasiment identique sur tous les navigateurs,
    sauf IE bien évidemment.

    Mon but actuel est de cadrer mon diaporama sur internet explorer, de 50 pixels sur la gauche et 50 vers le bas.

    j'ai essayé la technique du <!--[if IE]><![endif]-->
    mais je n'arrive pas à le faire fonctionner (ma page reste identique)

    mon code html :

    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
     
    <!doctype html>
    <html>
    <head>
    <meta charset="UTF-8">
     
    <title>Plénitude Beauté 06 Cannes - Soins esthétiques à domicile</title>
    <meta name = "description" content = "sur Cannes et environs. Massages, épilations, soins visage, maquillage et manucure-pédicure."/>
    <meta name="Identifier-URL" content ="www.plenitude-beaute06.com"/>
    <meta name="keywords" content ="massage, massages, masseuse épilation, soin visage, maquillage, maquilleuse, manucure, pédicure, à domicile, cannes, antibes, la bocca, 06, 83, alpes maritimes, var "/>
    <meta name="author" lang="fr" content="Fabien D'anna">
     
    <link href="style.css" rel="stylesheet" type="text/css" />
    <link href="titre.css" rel="stylesheet" type="text/css" />
     
       <!--[if lte E 8]><script src="explorer/ie.patch.js"></script><![endif]-->
     
    <!--[if IE]><link rel="stylesheet" type="text/css" href="explorer/ie.css" /><![endif]-->
     
    <script>
    $(document).ready(function() {
      $("#toggler").click(function() {
        event.preventDefault();
        $(this).next('.expand').slideToggle("slow");
      });
    });
    </script>
     
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="carrousel/jquery.js"></script>
    <script type="text/javascript" src="carrousel/carrousel.js"></script>
    </head>
     
    <body>	
     
    					<div class="container" >
     					 <div class="header">
     
    <!-- LOGO -->
     
    				<div id="logo">                        
    <a class="facebook" href="http://icreatorbeta.free.fr"><img alt="logo_plenitude_beaute" width="410" height="120" src="images/logo.png" 
     
    style="-webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;"></a></div>
     
     
     <!-- BOUTONS ACCUEIL -->
     
    			<div id="heada"> 
    				<ul id="header-menu" >
    <li class="header-menu-choix"><a href="http://icreatorbeta.free.fr"/>Accueil</a></li>
    <li class="header-menu-choix"><a href="http://icreatorbeta.free.fr/contact.html">Contact</a></li>
    <li class="header-menu-choix"><a href="http://icreatorbeta.free.fr/parrainage.html">Parrainage</a></li>
    <li class="header-menu-choix"><a href="http://icreatorbeta.free.fr/produits.html">Produits</a></li>
    <li class="header-menu-choix"><a href="http://icreatorbeta.free.fr/partenaires.html">Partenaires</a></li>
    <li class="header-menu-choix"><a href="http://icreatorbeta.free.fr/blog.html">Blog</a></li>
    				</ul>
    			</div> 
      		</div>
     
     
    					<div class="content" style="overflow:hidden;"/> 
     
    <!-- DIAPO -->  
     			<article id="page-carrousel"> 
                                 <div id="carrousel">
     
                                  <div id="slide1" class="slide">
                                      <div class="visu">
                                        <img src="carrousel/img/slide1.jpg"/>
                                    </div>
                                   </div>
     
                                  <div id="slide2" class="slide">
                                      <div class="visu">
                                        <img src="carrousel/img/slide2.jpg"/>
                                    </div>
                                   </div>
     
                                  <div id="slide3" class="slide">
                                      <div class="visu">
                                        <img src="carrousel/img/slide3.jpg"/>
                                    </div>
                                   </div>
     
                                <div id="slide4" class="slide">
                                      <div class="visu">
                                        <img src="carrousel/img/slide4.jpg"/>
                                  </div>
                                   </div>
     
                                <div id="slide5" class="slide">
                                      <div class="visu">
                                        <img src="carrousel/img/slide5.jpg"/>
                                  </div>
                                   </div>
                                   </div>
                          </div>
     
     
                   <!-- BIENVENUE -->   
     
     
    				<div id="bienvenue">
    					<h1>Bienvenue </h1>
    					<p id="bienvenue-message-marge">Plénitude Beauté vous propose 
                                  <br/>des prestations de qualité à
                                  <br/> domicile sur Cannes et environs.</p>
     
    					<p id="bienvenue-message1">
    						Sur rendez-vous, tous les jours 
                                        <br/>de 9h à 20h.					</p>
     
    					<p id="bienvenue-message2">
    						06 61 87 83 65<br>
    						<a>plenitude-beaute@laposte.net</a><br>
    						<a>Rejoignez-nous sur Facebook</a>                  </p>
     
    					<p id="bienvenue-facebook-marge" href="#">                        
                            		<a class="facebook" href="http://www.facebook.com/plenitudebeaute"><img alt="facebook" width="44" height="44" 
                                        style="
            -webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;"
     
    									src="images/facebook.png"></a>				  </p>
    				</div>
     
     
    <!-- BOUTONS -->  
     
    				<div id="bouton">
                                 <h1>Prestations</h1>
     
    			<p><a class="bouton1" href="http://icreatorbeta.free.fr/soins-corps.html"><img width="87px" height="87px" src="img/1.png"  alt="soins_corps"
                      style="
    		-webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;" /></a></p>
     
     
            		<p><a class="bouton2" href="http://icreatorbeta.free.fr/soins-visage.html"><img width="87px" height="87px" src="img/2.png"  alt="soins_visage"
                      style="
    		-webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;" /></a></p>
     
            		<p><a class="bouton3" href="http://icreatorbeta.free.fr/epilations.html"><img width="87px" height="87px" src="img/3.png"  alt="epilation_epilations"
                      style="
    		-webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;" /></a></p>
     
     
     
                      <p class="texte1">
    <a class="readmore" href="http://icreatorbeta.free.fr/soins-corps.html">SOINS CORPS</a></p>
     
                       <p class="texte2">
    <a class="readmore" href="http://icreatorbeta.free.fr/soins-visage.html">SOINS VISAGE</a></p>
     
                      <p class="texte3">
    <a class="readmore" href="http://icreatorbeta.free.fr/epilations.html">EPILATIONS</a></p>               
     
     
     
    			<p><a class="bouton4" href="http://icreatorbeta.free.fr/manucurie.html"><img width="87px" height="87px" src="img/4.png"  alt="manucure_pedicure_manucurie_beaute_des_mains"
                      style="
    		-webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;" /></a></p>
     
     
            		<p><a class="bouton5" href="http://icreatorbeta.free.fr/maquillage.html"><img width="87px" height="87px" src="img/5.png"  alt="maquillage_mariee"
                      style="
    		-webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;" /></a></p>
     
                       <p class="texte4">
    <a class="readmore" href="http://icreatorbeta.free.fr/manucurie.html">MANUCURIE</a></p>
     
                      <p class="texte5">
    <a class="readmore" href="http://icreatorbeta.free.fr/maquillage.html">MAQUILLAGE</a></p>           
    			</div>
     
     
    <!-- CADEAU -->  
    				<div id="cadeau">
    					<h1>Carte Cadeau </h1>
    					<p id="cadeau-message-marge">Pour un événement ou simplement pour faire plaisir, <br> pensez à offrir une carte cadeau. <br>Elle est valable sur toutes les prestations pendant 6 mois.</p>
     
    			</div>
     
    		</div>
    	</body>
    </html>

    css :

    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
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    	@font-face {
        font-family: 'BelleroseLight';
        src: url('font/belleroselight-webfont.eot');
        src: url('font/belleroselight-webfont.eot?#iefix') format('embedded-opentype'),
             url('font/belleroselight-webfont.woff') format('woff'),
             url('font/belleroselight-webfont.ttf') format('truetype'),
             url('font/belleroselight-webfont.svg#BelleroseLight') format('svg');
        font-weight: normal;
        font-style: normal;
    	    background-color: transparent
     
    }
     
    @charset "UTF-8";
     
    body {
    	color: #000;
    	background-image: url(images/fond.png);
    	margin: auto;
    	background-position: center 0;
    	font-family: 'BelleroseLight', Verdana, Arial, Helvetica, sans-serif;
    	font-size: 100%;
    	line-height: 1.4;
    	background-color: #333;
    	height: 1420px;
    	width: 820px;
    }
     
    /* ~~ Sélecteurs d'éléments/balises ~~ */
    ul, ol, dl { /* En raison des variations entre les navigateurs, il est conseillé d'attribuer une valeur de zéro aux marges intérieures et aux marges des listes. A des fins de cohérence, vous pouvez définir les valeurs désirées dans cette zone ou dans les éléments de liste (LI, DT, DD) qu'elle contient. N'oubliez pas que les paramètres que vous définissez ici se répercuteront sur la liste .nav, sauf si vous rédigez un sélecteur plus spécifique. */
    	padding: 0;
    	margin: 0;
    }
    h1, h2, h3, h4, h5, h6, p {
    	margin-top: 0;	 /* la suppression de la marge supérieure résout un problème où les marges sortent de leur div conteneur. La marge inférieure restante l'éloignera de tout élément qui suit. */
    	padding-right: 15px;
    	padding-left: 15px; /* l'ajout de la marge intérieure aux côtés des éléments à l'intérieur des divs, et non aux divs proprement dit, évite le recours à des calculs de modèle de boîte. Une autre méthode consiste à employer une div imbriquée avec marge intérieure latérale. */
    }
    a img { /* ce sélecteur élimine la bordure bleue par défaut affichée dans certains navigateurs autour d'une image lorsque celle-ci est entourée d'un lien. */
    	border: none;
    }
    /* ~~ La définition du style des liens de votre site doit respecter cet ordre, y compris le groupe de sélecteurs qui créent l'effet de survol. ~~ */
    a:link {
    	color: #42413C;
    	text-decoration: underline; /* à moins que vous ne définissiez un style particulièrement exclusif pour vos liens, mieux vaut prévoir un soulignement, qui garantit une identification visuelle rapide. */
    }
    a:visited {
    	color: #6E6C64;
    	text-decoration: underline;
    }
    a:hover, a:active, a:focus { /* ce groupe de sélecteurs offrira à un navigateur au clavier la même expérience de survol que celle d'une personne employant la souris. */
    	text-decoration: none;
    }
     
    /* ~~ ce conteneur à largeur fixe entoure les autres divs ~~ */
    .container {
    	width: 860px;
    	background-color: #000;
    	margin: auto;
    	background-image: url(images/content.png);
    }
     
     
     
    .font1 {
    	font-family: 'BelleroseLight';
    	color: #333333;
    	text-decoration: none;
    	font-size:25px;
    	}
     
     
    .font2 {
    	font-family: 'BelleroseLight';
    	color: #333333;
    	text-decoration: none;
    	font-size:32px;
    	}
     
    .font3 {
    	font-family: 'BelleroseLight';
    	color: #333333;
    	text-decoration: none;
    	font-size:20px;
    	}
     
    /* ~~ aucune largeur n'est attribuée à l'en-tête. Il occupera toute la largeur de votre mise en page. Il contient un espace réservé pour une image, qui doit être remplacé par votre logo lié. ~~ */
    .header {
    	width: 100%;
    	background-color: #FFFFFF;
    	height: 235px;
    	background-repeat: no-repeat;
    	background-image: url(images/fond_header.png);
    	background-position: center;
    }
     
     
     
    .content {
    position:relative;
    	padding: 10px 0;
    	width: 860px;
    	height: 375px;
    	background-repeat: repeat;
    	background-color: #F9F9F9;
    }
     
    #footer {
     
    	background-color: #333333;
    	width:580px;
    	border-radius: 1ex;
    	height: 20px;
    	padding:6px;
    	text-align:center;
    	vertical-align:middle;
    }
     
    #footer-contact {
    position:relative;
      margin-left: 0px;
    	margin-bottom:50px;
    	display: table-row-group;
    	}
     
    		#footer-contact p {
    	font-family: BelleroseLight;
    	line-height: 1.5em;
    	font-size: 125%;
    color:white;
    vertical-align: middle;
    	text-align:left;
     
    }
     
     
     
    .ombrage {
      box-shadow: 1px 1px 12px #555;
    }
     
     .portfolio {
      box-shadow: 1px 1px 12px #555;
    }
     
     
     
    /* LOGO */
     
     
    #logo {
     
    margin-top: 10px;
    margin-right: -25px;
    	float: right;
    	position:right;
     
    	}
     
     
     
    /* ACCUEIL */
     
     
    #heada {
    	width: 100%;
    	float:left;
    }
    #header-menu {
    	margin: 0;
    	padding: 1ex;
    }
    .header-menu-choix {
    	display: inline-block;
    	margin-top: 10px;
     
    }
     
    .header-menu-choix a {
    	display: block;
    	color: #333333;
    	font-size: 150%;
    	font-variant: small-caps;
    	text-decoration: none;
    	line-height: 10px;
    	font-variant: small-caps;
     
    	}
     
    .header-menu-choix a:hover {
    	text-decoration: none;
    	color: white;	
    	}
     
     
     
     
    /* DIAPO */
     
    #page-carrousel {
    position:relative;
    	display: table-row;
    	    border-radius: 1em 1em 0 0;
        clear: both;
        display: table;
        margin: 0 5%;
        padding: 1em 0 1em 1em;
        margin-left: -20px;
        margin-top: 10px;
     
     
    }
     
     
     
    .slide{
        position:absolute;
        top:0;
        left:0;
    }
     
     
    /* BIENVENUE */
     
    #bienvenue {
    position:relative;
    	display: table-row-group;
    	float:left;
    	margin-left:0px;
    	margin-top:0px;
    	background: BLACK;
    	border-radius: 1ex;
    		border-radius: 15px;
     
    	width:250px;
    	height: 436px;
    	border: thin dotted black;
    	text-align: center;
    	border:none;
    	}
     
    #bienvenue p {
    	font-family: BelleroseLight;
    	text-decoration:none;
    	line-height: 1.8em;
    	font-size: 110%;
    	color:#333333;
    }
     
    #bienvenue h1 {
    	font-family: BelleroseLight;
    	color:#333333;
    	font-weight: normal;
    	font-size: 200%;
    	position:relative;
    	margin-top:16px;
    }
     
     
     
    #bienvenue-facebook-marge {
    	margin-top: -25px;
    }
     
    .facebook {
    	margin-top: -25px;
    	float: center;
    	opacity: 1;
    }
     
          .facebook a img {
            -webkit-transition: all 0.9s ease-in-out; 
            -webkit-transition-duration: 0.8s;
    	    -moz-transition: all 0.9s ease-in-out; 
            -moz-transition-duration: 0.8s;	
    	    -o-transition: all 0.9s ease-in-out; 
            -o-transition-duration: 0.8s;
    		-ms-transition: all 0.9s ease-in-out; 
            -ms-transition-duration: 0.8s;
    		-khtml-transition: all 0.9s ease-in-out; 
            -khtml-transition-duration: 0.8s;
     
    		 position: absolute;
            z-index: 4; }
     
    .facebook img:hover , .facebook a.active img {
    	        opacity: 0.5; 
    }
     
     
    /* BOUTON */
     
    #bouton {
    position:relative;
    	display:inline-table;
    	width: 570px;
    	height: 428px;
    	border-radius: 1ex;
    	border: thin dotted white;
    	padding: 0em;
    	background-color:#F9F9F9;
    	background: BLACK;
    	margin-left:25px;
    	margin-top:0px;
     	}
     
    #bouton p {
    	font-family: BelleroseLight;
    	line-height: 1.5em;
    	font-size: 125%;
     
    }
     
    #bouton h1 {
    position:relative;
    font-family: BelleroseLight;
    font-weight: normal;
    font-size: 200%;
    position:relative;	
    margin-top:10px;
    	color:#333333;
    	}
     
     
    .bouton1 {	opacity: 1;	position:absolute;float:left;margin-left:-15px;margin-top:4px;
    }
    .bouton1 a img {-webkit-transition: all 0.9s ease-in-out; -webkit-transition-duration: 0.8s;	    -moz-transition: all 0.9s ease-in-out;-moz-transition-duration: 0.8s;-o-transition: all 0.9s ease-in-out;-o-transition-duration: 0.8s;-ms-transition: all 0.9s ease-in-out;-ms-transition-duration: 0.8s;-khtml-transition: all 0.9s ease-in-out;-khtml-transition-duration: 0.8s;}
    .bouton1 img:hover , .bouton11 a.active img {	border-radius: 2ex;opacity: 0.7;box-shadow: 1px 1px 52px #303030;}	
     
    .bouton2 {	opacity: 1;	position:absolute;float:left;margin-left:-15px;margin-top:128px;}
    .bouton2 a img {-webkit-transition: all 0.9s ease-in-out; -webkit-transition-duration: 0.8s;	    -moz-transition: all 0.9s ease-in-out;-moz-transition-duration: 0.8s;-o-transition: all 0.9s ease-in-out;-o-transition-duration: 0.8s;-ms-transition: all 0.9s ease-in-out;-ms-transition-duration: 0.8s;-khtml-transition: all 0.9s ease-in-out;-khtml-transition-duration: 0.8s;}
    .bouton2 img:hover , .bouton22 a.active img {	border-radius: 2ex;opacity: 0.7;box-shadow: 1px 1px 52px #303030;}		
     
    .bouton3 {	opacity: 1;	position:absolute;float:left;margin-left:-15px;margin-top:252px;}
    .bouton3 a img {-webkit-transition: all 0.9s ease-in-out; -webkit-transition-duration: 0.8s;	    -moz-transition: all 0.9s ease-in-out;-moz-transition-duration: 0.8s;-o-transition: all 0.9s ease-in-out;-o-transition-duration: 0.8s;-ms-transition: all 0.9s ease-in-out;-ms-transition-duration: 0.8s;-khtml-transition: all 0.9s ease-in-out;-khtml-transition-duration: 0.8s;}
    .bouton3 img:hover , .bouton33 a.active img {	border-radius: 2ex;opacity: 0.7;box-shadow: 1px 1px 52px #303030;}		
     
    .bouton4 {	opacity: 1;float:left;margin-left:270px;margin-top:-330px;}
    .bouton4 a img {-webkit-transition: all 0.9s ease-in-out; -webkit-transition-duration: 0.8s;	    -moz-transition: all 0.9s ease-in-out;-moz-transition-duration: 0.8s;-o-transition: all 0.9s ease-in-out;-o-transition-duration: 0.8s;-ms-transition: all 0.9s ease-in-out;-ms-transition-duration: 0.8s;-khtml-transition: all 0.9s ease-in-out;-khtml-transition-duration: 0.8s;}
    .bouton4 img:hover , .bouton44 a.active img {	border-radius: 2ex;opacity: 0.7;box-shadow: 1px 1px 52px #303030;}	
     
    .bouton5 {	opacity: 1;	float:left;margin-left:270px;margin-top:-206px; }
    .bouton5 a img {-webkit-transition: all 0.9s ease-in-out; -webkit-transition-duration: 0.8s;	    -moz-transition: all 0.9s ease-in-out;-moz-transition-duration: 0.8s;-o-transition: all 0.9s ease-in-out;-o-transition-duration: 0.8s;-ms-transition: all 0.9s ease-in-out;-ms-transition-duration: 0.8s;-khtml-transition: all 0.9s ease-in-out;-khtml-transition-duration: 0.8s;}
    .bouton5 img:hover , .bouton55 a.active img {	border-radius: 2ex;opacity: 0.7;box-shadow: 1px 1px 52px #303030;}	
     
     
    .texte1 {position:relative;margin-left:100px;margin-top:64px;}
    .content .texte1 .readmore {font-family: BelleroseLight;color: #60ab0d;text-decoration: none;font-size: 25px;
    -moz-transition-duration: 0.5s;-webkit-transition-duration: 0.5s;-o-transition-duration: 0.5s;-ms-transition-duration: 0.5s;-khtml-transition-duration: 0.5s; }
    .readmore:hover, .content .texte1 .readmore:hover {color: #333333;}
     
    .texte2 {position:relative;margin-left:100px;margin-top:93px;}
    .content .texte2 .readmore {font-family: BelleroseLight;color: #60ab0d;text-decoration: none;font-size: 25px;
    -moz-transition-duration: 0.5s;-webkit-transition-duration: 0.5s;-o-transition-duration: 0.5s;-ms-transition-duration: 0.5s;-khtml-transition-duration: 0.5s; }
    .readmore:hover, .content .texte2 .readmore:hover {color: #333333;}
     
    .texte3 {position:relative;margin-left:100px;margin-top:93px;}
    .content .texte3 .readmore {font-family: BelleroseLight;color: #60ab0d;text-decoration: none;font-size: 25px;
    -moz-transition-duration: 0.5s;-webkit-transition-duration: 0.5s;-o-transition-duration: 0.5s;-ms-transition-duration: 0.5s;-khtml-transition-duration: 0.5s; }
    .readmore:hover, .content .texte3 .readmore:hover {color: #333333;}
     
     
    .texte4 {position:relative;margin-left:384px;margin-top:-304px;}
    .content .texte4 .readmore {font-family: BelleroseLight;color: #60ab0d;text-decoration: none;font-size: 25px;
    -moz-transition-duration: 0.5s;-webkit-transition-duration: 0.5s;-o-transition-duration: 0.5s;-ms-transition-duration: 0.5s;-khtml-transition-duration: 0.5s; }
    .readmore:hover, .content .texte4 .readmore:hover {color: #333333;}
     
    .texte5 {position:relative;margin-left:384px;margin-top:90px;}
    .content .texte5 .readmore {font-family: BelleroseLight;color: #60ab0d;text-decoration: none;font-size: 25px;
    -moz-transition-duration: 0.5s;-webkit-transition-duration: 0.5s;-o-transition-duration: 0.5s;-ms-transition-duration: 0.5s;-khtml-transition-duration: 0.5s; }
    .readmore:hover, .content .texte5 .readmore:hover {color: #333333;}
     
    /* CADEAU */
     
    #cadeau {
    background: #f9f9f9; /* Old browsers */
    background: -moz-linear-gradient(left, #f9f9f9 0%, #d698b1 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#f9f9f9), color-stop(100%,#d698b1)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #f9f9f9 0%,#d698b1 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #f9f9f9 0%,#d698b1 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #f9f9f9 0%,#d698b1 100%); /* IE10+ */
    background: linear-gradient(to right, #f9f9f9 0%,#d698b1 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#d698b1',GradientType=1 ); /* IE6-9 */
     
    	width: 830px;
    	height: 137px;
    		border-radius: 1ex;
    padding: 1em 0 1em 1em;
     	float:left;
    	margin-left:-20px;
    	margin-top:10px;
    	z-index:2;
    		}
     
     
    #cadeau h1 {
     
    	font-family: BelleroseLight;
    	font-weight: normal;
    	font-size: 200%;
    	position:relative;
    		margin-left:30px;
    		margin-top:43px;
    	color:#333333;
    	}
     
    #cadeau-message-marge {
    	position:relative;
    	text-decoration:none;
    		line-height: 1.8em;
    	font-size: 110%;
    	float:right;
    		margin-top:-90px;
    		margin-right:70px;
    			text-align: center;
    	}
     
     
    /* PAGES */
     
     
     
    .ligne {
       width: 50%;
    		   border-color	: #60ab0d;
    		   border-width: 0 0 2px;
    		   border-style: solid;
    		   font-size: 0;
    		   margin-top:33px;
    		   margin-left:70px;
    		   float:left;
    		   position:absolute;
    		   z-index:1;
    }
     
     
     
     
    #cadretitre {
    position:relative;
    	clear: both;
    	margin: 0 5%;
    	padding: 1em 0 1em 1em;
    	margin-top:10px;
      margin-left: auto;
    		   z-index:2;
    	}
     
    #titre {
    		   	   background: #F9F9F9;
    	display: table-row-group;
    	padding: 1em;
    	text-align: center;
    	line-height:1em;
     
     	}
     
    #titre h1 {
    	font-family: BelleroseLight;
    	font-weight: normal;
    	font-size: 200%;
    color: #60ab0d;	}
     
    #titre a {
    	font-family: BelleroseLight;
    	font-weight: normal;
    	font-size: 130%;
    color: #60ab0d;	}
     
     
     
     
     
     
     
    		/* CONTACT */
     
    #pagecontact {
    position:relative;
    margin-left:70px;
    border-width:2px;
     border-style:solid;
     border-color:#cdcaca;
     background-color:transparent;
    	clear: both;
    	margin: 0 5%;
     	width: 710px;
    	height: 320px;
    		padding: 1em 0 1em 1em;
     
    	}
     
    #contactphoto {
    float:left;
    	display: table-row-group;
     border-style:solid;
    border-width:1px;
     border-color:#cdcaca;
     	width: 156px;
    	height: 233px;
    	padding:6px;
    	margin-left:5px;
    	margin-top:37px;
    vertical-align:middle;		}
     
    #contactphoto-img {
      display:block;
    margin-left:auto;
    margin-right:auto;  }
     
    #contactbloc {
    	margin-top:37px;
    	margin-right:60px;
    float:right;
    	display: table-row-group;
     border-style:solid;
    border-width:0px;
     border-color:#cdcaca;
     	width: 385px;
    	height: 233px;
    	padding:6px;
    	text-align:center;
    vertical-align: middle;	}
     
    #contactbloc p {
    	font-family: BelleroseLight;
    	line-height: 2.5em;
    	font-size: 125%;
    }
     
    #contactbloc2 {
    position:relative;
    float:left;
    margin-left:40px;
    	margin-top:17px;
    	display: table-row-group;
     border-style:solid;
    border-width:0px;
     border-color:#cdcaca;
     	width: 300px;
    	height: 194px;
    	padding:6px;
    	text-align:left;
    vertical-align: middle;	}
     
    		#contactbloc2 p {
    	font-family: BelleroseLight;
    	line-height: 1.5em;
    	font-size: 125%;
    }
     
    		/* PARRAINAGE */
     
    #parrainage {
    position:absolute;
      margin-left: 190px;
      box-shadow: 8px 8px 12px #aaa;
    	margin-top:17px;
    	display: table-row-group;
     border-style:groove;
    border-width:2px;
     border-color:#cdcaca;
     	width: 435px;
    	height: 435px;
    	padding:6px;
    	text-align:center;
    vertical-align: middle;
    	border-radius: 1ex;
    	}
     
    		#parrainage p {
    	font-family: BelleroseLight;
    	line-height: 2.5em;
    	font-size: 125%;
    }
     
     
    		/* PRODUITS */
     
    #produit {
    position:relative;
    float:left;
      box-shadow: 8px 8px 12px #aaa;
     
    border-width:2px;
     border-style:solid;
     border-color:#cdcaca;
     background-color:transparent;
    	clear: both;
    	margin: 0 5%;
     	width: 720px;
    	height: 600px;
    		padding: 1em 0 1em 1em;
     
    	}
     
    	#produit-photo {
    float:left;
      box-shadow: 8px 8px 12px #aaa;
     
    	display: table-row-group;
     border-style:solid;
    border-width:1px;
     border-color:#cdcaca;
     	width: 310px;
    	height: 310px;
    	padding:6px;
    	margin-left:5px;
    	margin-top:132px;
    vertical-align:middle;		}
     
    #produit-photo-img {
      display:block;
    margin-left:auto;
    margin-right:auto;  }
     
    #produit-texte {
    	margin-top:20px;
    	margin-right:0px;
    float:right;
    	display: table-row-group;
     border-style:solid;
    border-width:0px;
     border-color:#cdcaca;
     	width: 370px;
    	height: 490px;
    	padding:6px;
    	text-align:center;
    vertical-align: middle;	}
     
    #produit-texte p {
    	font-family: BelleroseLight;
    	line-height: 2.5em;
    	font-size: 125%;
    }
     
    		/* PARTENAIRES */
     
    .text-partenaire {
    	font-family: BelleroseLight;
    	line-height: 1.5em;
    	font-size: 100%;}
     
    	.partenaire-photo {
      box-shadow: 3px 3px 8px #aaa;
      display:block;
     border-style:solid;
    border-width:1px;
     border-color:#cdcaca;
    width: 70%;
    margin-left:auto;
    margin-right:auto;
    	text-align:center;
    	vertical-align:middle;}
     
    	#table {
    position:relative;
    float:left;
    margin-left:0px;
      box-shadow: 8px 8px 12px #aaa;
      width:800px;
      border-width:2px;
     border-style:solid;
     border-color:#cdcaca;
     background-color:transparent;
    	clear: both;	}

    css IE

    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
    /* DIAPO */
     
    #page-carrousel {
    position:relative;
    	display: table-row;
    	    border-radius: 1em 1em 0 0;
        clear: both;
        display: table;
        margin: 0 5%;
        padding: 1em 0 1em 1em;
        margin-left: -20px;
        margin-top: 50px;
     
     
     
    }
     
     
     
    .slide{
        position:absolute;
        top:0;
        left:0;
    }

    voilà comment je comprends les choses (corrigez moi si je me trompe):
    internet explorer lit en priorité le fichier ie.css,
    s'il ne trouve pas le style (que ce soit # ou .) , donc il va le chercher sur style.css , puis l'applique sur l'apercu.

    Dans mon exemple,
    le style #page-carrousel a été repéré sur ie.css, donc style.css est ignoré.


    Pourtant dans mon cas, ie.css n'est pas lu, donc ne n'ai pas mon changement voulu.

    Si vous pouviez m'aider svp à me dire ce qui cloche.

    Je vous remercie

  2. #2
    Membre expérimenté
    Avatar de Mahefasoa
    Homme Profil pro
    Manager IT
    Inscrit en
    Octobre 2003
    Messages
    835
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Madagascar

    Informations professionnelles :
    Activité : Manager IT

    Informations forums :
    Inscription : Octobre 2003
    Messages : 835
    Points : 1 664
    Points
    1 664
    Par défaut
    Bonjour,

    Sur le principe, c'est correcte mais je pense qu'il manque une directive dans le CSS pour IE (ie.css).

    Je pense qu'il faut ajouter le bloc suivant dans ce CSS:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
     
    div#carrousel
    {
    position: relative;
    }
    Cela devrait corriger votre souci du moins en partie.

    Cordialement,
    Mahefasoa

  3. #3
    Membre expert
    Avatar de Muchos
    Homme Profil pro
    Enseignant
    Inscrit en
    Décembre 2011
    Messages
    1 704
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : France, Ardennes (Champagne Ardenne)

    Informations professionnelles :
    Activité : Enseignant
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Décembre 2011
    Messages : 1 704
    Points : 3 861
    Points
    3 861
    Billets dans le blog
    6
    Par défaut
    En outre, il y a une coquille. Correction :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <!--[if lte IE 8]><script src="explorer/ie.patch.js"></script><![endif]-->

  4. #4
    Débutant  
    Profil pro
    Inscrit en
    Février 2007
    Messages
    356
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2007
    Messages : 356
    Points : 99
    Points
    99
    Par défaut
    super !
    merci beaucoup à vous deux, ca fonctionne très bien

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

Discussions similaires

  1. Compatibilité css internet explorer couleur fond
    Par ickyknox dans le forum Mise en page CSS
    Réponses: 0
    Dernier message: 08/10/2012, 00h26
  2. compatibilité avec Internet explorer 6
    Par blank dans le forum Balisage (X)HTML et validation W3C
    Réponses: 4
    Dernier message: 17/01/2008, 18h14
  3. pb de compatibilité avec Internet Explorer
    Par aztec dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 10/09/2007, 22h22
  4. Compatibilité page css Internet explorer
    Par balto dans le forum Mise en page CSS
    Réponses: 13
    Dernier message: 13/11/2005, 20h34
  5. Css - internet explorer - mozilla
    Par yaka2 dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 10/11/2005, 17h09

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