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 :

Image encadrée en bleu sous IE 10


Sujet :

CSS

  1. #1
    Membre très actif
    Homme Profil pro
    etudiant
    Inscrit en
    Mai 2010
    Messages
    222
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Sénégal

    Informations professionnelles :
    Activité : etudiant

    Informations forums :
    Inscription : Mai 2010
    Messages : 222
    Par défaut Image encadrée en bleu sous IE 10
    Bonjour , j'ai suivi ce tuto http://sohtanaka.developpez.com/tuto...-css-et-jquery et tout se passe bien mais il m'affiche en encadré le bouton close en bleu sous IE10 mais sous firefox il n'y a pas de soucis . je mets la photo pour que vous voyez ce que je veux dire . Merci
    Images attachées Images attachées  

  2. #2
    Rédacteur

    Avatar de Torgar
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 334
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 334
    Je ne suis pas schizophrène, nous sommes unanime !!!

    ► Pensez à la balise code et au CODE HTML GENERE !!!!
    ► Au si c'est le cas et au à ceux qui vous ont aidé.
    Vous souhaitez participer aux rubriques CSS et (X)HTML ? Contactez-nous !

    Créer des colonnes de même hauteur en CSS
    Glossaire CSS
    Les bordures en CSS3
    Les transitions en CSS3

  3. #3
    Membre très actif
    Homme Profil pro
    etudiant
    Inscrit en
    Mai 2010
    Messages
    222
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Sénégal

    Informations professionnelles :
    Activité : etudiant

    Informations forums :
    Inscription : Mai 2010
    Messages : 222
    Par défaut
    Merci .
    la j'ai un soucis immense la , je pense que les images sont superposées donc la zone cliquable pour l'image est réduite comment gérer cela ? pourtant je les ai bien decoupées

  4. #4
    Rédacteur

    Avatar de Torgar
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 334
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 334
    Par défaut
    Si tu montrais ton code ?
    Je ne suis pas schizophrène, nous sommes unanime !!!

    ► Pensez à la balise code et au CODE HTML GENERE !!!!
    ► Au si c'est le cas et au à ceux qui vous ont aidé.
    Vous souhaitez participer aux rubriques CSS et (X)HTML ? Contactez-nous !

    Créer des colonnes de même hauteur en CSS
    Glossaire CSS
    Les bordures en CSS3
    Les transitions en CSS3

  5. #5
    Membre très actif
    Homme Profil pro
    etudiant
    Inscrit en
    Mai 2010
    Messages
    222
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Sénégal

    Informations professionnelles :
    Activité : etudiant

    Informations forums :
    Inscription : Mai 2010
    Messages : 222
    Par défaut
    Voila le 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
    body {
        background-color:black;
    }
     
    #af {
        position:absolute;
        left:669px;
        top:613px;
    }
     
    #sn {
        position:absolute;
        left:292px;
        top:239px;
    }
     
    #maur {
        position:absolute;
        left: 298px;
        top:114px;
        height: 149px;
        width: 144px;
    }
     
    #mali {
     position:absolute;   
     height: 180px;
        top: 139px;
        left: 350px;
        width: 177px;
    }
     
    #algerie {
        position:absolute;
        top:37px;
        left:395px;
    }
     
    #sahara {
        position:absolute;
        top: 113px;
        left: 310px;
        height: 83px;
    }
     
    #maroc{
        position:absolute;
        top: 41px;
        left: 362px;
        height: 99px;
        width: 133px;
    }
     
    #tunisie {
        position:absolute;
        top: 29px;
        left: 560px;
        height: 120px;
        width: 82px;
    }
     
    #libye {
        position:absolute;
        top: 80px;
        left: 580px;
        height: 174px;
    }
     
    #egypte {
        position:absolute;
        top: 80px;
        left: 722px;
        height: 152px;
        bottom: 351px;
    }
     
    #soudan {
        position:absolute;
        top: 197px;
        left: 699px;
        height: 195px;
        width: 222px;
    }
     
    #erythre {
        position:absolute;
        top: 235px;
        left: 874px;
        height: 96px;
        width: 113px;
    }
     
    #ethiopie {
        position:absolute;
        top: 282px;
        left: 838px;
        height: 137px;
        bottom: 164px;
        width: 178px;
    }
     
    #djibouti {
        position:absolute;
        top:302px;
        left:936px;
    }
     
    #somalie {
        position:absolute;
        top: 307px;
        left: 925px;
        height: 176px;
        width: 128px;
    }
     
    #kenya {
        position:absolute;
        top: 382px;
        left: 842px;
        height: 142px;
        width: 128px;
    }
     
    #niger {
        position:absolute;
        top: 170px;
        left: 485px;
        height: 128px;
        width: 159px;
    }
     
    #tchad {
        position:absolute;
        top: 186px;
        left: 596px;
        height: 161px;
        width: 154px;
    }
     
    #nigeria {
        position:absolute;
        top: 259px;
        left: 498px;
        height: 136px;
        width: 136px;
    }
     
    #cameroun {
    position:absolute;
        top: 257px;
        left: 525px;
        height: 171px;
        width: 135px;
        margin-bottom: 0px;
    }
     
    #burkina {
    position:absolute;
    top:250px;
    left:410px;
    }
     
    #benin {
        position:absolute;
        top: 300px;
        left: 490px;
        height: 87px;
        width: 34px;
    }
     
    #togo {
    position:absolute;
        top: 305px;
        left: 474px;
        height: 75px;
        width: 43px;
    }
     
    #ghana {
        position:absolute;
        top: 305px;
        left: 435px;
        width: 61px;
        height: 78px;
    }
     
    #ivoire {
        position:absolute;
        top: 309px;
        left: 395px;
        width: 59px;
        height: 85px;
    }
     
    #conakry {
    position:absolute;
        top: 284px;
        left: 315px;
        height: 74px;
        width: 95px;
    }
     
    #leone {
        position:absolute;
        top: 318px;
        left: 330px;
    }
     
    #liberia {
        position:absolute;
        top:337px;
        left: 355px;
        width: 57px;
        height: 57px;
    }
     
    #bissau {
        position:absolute;
        top: 288px;
        left: 300px;
        height: 28px;
        width: 38px;
    }
     
    #centrafrique {
        position:absolute;
        top: 297px;
        left: 618px;
        width: 145px;
        height: 101px;
    }
     
    #rdc {
        position:absolute;
        top: 354px;
        left: 626px;
        height: 186px;
        width: 195px;
        bottom: 263px;
        right: 198px;
        margin-left: 0px;
    }
     
    #congo {
        position:absolute;
        top: 362px;
        left: 610px;
        width: 94px;
        height: 92px;
        margin-bottom: 0px;
    }
     
    #gabon {
        position:absolute;
        top: 405px;
        left: 584px;
        width: 45px;
        height: 44px;
    }
     
    #equatorial {
    position:absolute;
        top: 410px;
        left: 575px;
        height: 16px;
        width: 28px;
    }
     
    #angola {    
    position:absolute;
        top: 458px;
        left: 646px;
        width: 95px;
        height: 127px;
    }
     
    #ouganda {
        position:absolute;
        top:377px;
        left:792px;
        height: 98px;
        width: 75px;
    }
     
    #rwanda {
        position:absolute;
        top: 455px;
        left: 800px;
        width: 44px;
    }
     
    #burundi {
    position:absolute;
    top:466px;
    left:798px;
    }
     
    #tanzanie {
        position:absolute;
        top: 454px;
        left: 810px;
        height: 132px;
        width: 133px;
    }
     
    #mozambique {
        position:absolute;
        top: 555px;
        left: 872px;
        height: 157px;
        width: 55px;
    }
     
    #malawi {
        position:absolute;
        top: 541px;
        left: 862px;
        height: 91px;
        width: 54px;
    }
     
    #zambie {
        position:absolute;
        top: 476px;
        left: 711px;
        height: 111px;
        width: 128px;
    }
     
    #zimbawe {
    position:absolute;
    top:525px;
    left:770px;
        width: 108px;
        height: 115px;
    }
     
    #namibie {
        position:absolute;
        top: 555px;
        left: 646px;
        width: 138px;
        height: 181px;
    }
     
    #botswana {
    position:absolute;
        top: 567px;
        left: 720px;
        width: 130px;
        height: 136px;
    }
     
     
     
     
    #fade { /*--Masque opaque noir de fond--*/
    	display: none; /*--masqué par défaut--*/
    	background: #000;
    	position: fixed; left: 0; top: 0;
    	width: 100%; height: 100%;
    	opacity: .80;
    	z-index: 9999;
    }
    .popup_block{
    	display: none; /*--masqué par défaut--*/
    	background: #fff;
    	padding: 20px;
    	border: 20px solid #ddd;
    	float: left;
    	font-size: 1.2em;
    	position: fixed;
    	top: 50%; left: 50%;
    	z-index: 99999;
    	/*--Les différentes définitions de Box Shadow en CSS3--*/
    	-webkit-box-shadow: 0px 0px 20px #000;
    	-moz-box-shadow: 0px 0px 20px #000;
    	box-shadow: 0px 0px 20px #000;
    	/*--Coins arrondis en CSS3--*/
    	-webkit-border-radius: 10px;
    	-moz-border-radius: 10px;
    	border-radius: 10px;
    }
    img.btn_close {
    	float: right;
    	margin: -55px -55px 0 0;
    }
     
    a img { 
      border : none; 
    }
    et la ma page par default
    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
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Discover.aspx.cs" Inherits="DiscoverAfrica.Discover" %>
     
    <!DOCTYPE html>
     
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Discover</title>
        <link href="Styles.css" rel="stylesheet" type="text/css"/>
        <style type="text/css">
            #sn {
                height: 61px;
                width: 86px;
            }
     
            #algerie {
                height: 187px;
                width: 217px;
            }
        </style>
     
     
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
     
        <script>
            jQuery(function ($) {
     
                //Lorsque vous cliquez sur un lien de la classe poplight
                $('a.poplight').on('click', function () {
                    var popID = $(this).data('rel'); //Trouver la pop-up correspondante
                    var popWidth = $(this).data('width'); //Trouver la largeur
     
                    //Faire apparaitre la pop-up et ajouter le bouton de fermeture
                    $('#' + popID).fadeIn().css({ 'width': popWidth }).prepend('<a href="#" class="close"><img src="/photos/close_pop.png" class="btn_close" title="Close Window" alt="Close" /></a>');
     
                    //Récupération du margin, qui permettra de centrer la fenêtre - on ajuste de 80px en conformité avec le CSS
                    var popMargTop = ($('#' + popID).height() + 80) / 2;
                    var popMargLeft = ($('#' + popID).width() + 80) / 2;
     
                    //Apply Margin to Popup
                    $('#' + popID).css({
                        'margin-top': -popMargTop,
                        'margin-left': -popMargLeft
                    });
     
                    //Apparition du fond - .css({'filter' : 'alpha(opacity=80)'}) pour corriger les bogues d'anciennes versions de IE
                    $('body').append('<div id="fade"></div>');
                    $('#fade').css({ 'filter': 'alpha(opacity=80)' }).fadeIn();
     
                    return false;
                });
     
     
                //Close Popups and Fade Layer
                $('body').on('click', 'a.close, #fade', function () { //Au clic sur le body...
                    $('#fade , .popup_block').fadeOut(function () {
                        $('#fade, a.close').remove();
                    }); //...ils disparaissent ensemble
     
                    return false;
                });
     
     
            });
     
        </script>
     
    </head>
    <body>
        <form id="form1" runat="server">
     
        <img id="af" src="/photos/afrique_du_sud.png" style="height: 223px; width: 225px;";  />
     
    <a href="#" data-width="500" data-rel="popup_sn" class="poplight" >  <img id="sn" src="/photos/senegal.png" /> </a> 
     
     <a href="#" data-width="500" data-rel="popup_maur" class="poplight" >   <img id="maur" src="/photos/mauritanie.png" /></a>
     
            <img id="mali" src="/photos/mali.png" />
     
            <img id="algerie" src="/photos/algerie.png" />
     
            <img id="sahara" src="/photos/sahara_occidentale.png" />
     
            <img id="maroc" src="/photos/maroc.png" />
     
            <img id="tunisie" src="/photos/tunisie.png" />
     
            <img id="libye" src="/photos/libye.png" />
     
            <img id="egypte" src="/photos/egypte.png" />
     
            <img id="soudan" src="/photos/soudana.png" />
     
            <img id="erythre" src="/photos/erythre.png" />
     
            <img id="ethiopie" src="/photos/ethiopie.png" />
     
            <img id="djibouti" src="/photos/djibouti.png" />
     
            <img  id="somalie" src="/photos/somalie.png" />
     
            <img id="kenya" src="/photos/kenya.png" />
     
            <img id="niger" src="/photos/niger.png" />
     
            <img id="tchad" src="/photos/tchad.png" />
     
            <img id="nigeria" src="/photos/nigeria.png" />
     
            <img id="cameroun" src="/photos/cameroun.png" />
     
            <img id="burkina" src="/photos/burkina.png" />
     
            <img id="benin" src="/photos/benin.png" />
     
            <img id="togo" src="/photos/togo.png" />
     
            <img id="ghana" src="/photos/ghana.png" />
     
            <img  id="ivoire" src="/photos/cote_ivoire.png" />
     
            <img id="conakry" src="/photos/conakry.png" />
     
            <img id="leone" src="/photos/sierra_leone.png" />
     
            <img id="liberia" src="/photos/liberia.png" />
     
            <img id="bissau" src="/photos/bissau.png" />
     
            <img id="centrafrique" src="/photos/republique_centrafricaine.png" />
     
            <img id="rdc" src="/photos/rdc.png" />
     
            <img id="congo" src="/photos/congo.png" />
     
            <img id="gabon" src="/photos/gabon.png" />
     
            <img id="equatorial" src="/photos/guinée_equatoriale.png" />
     
            <img id="angola" src="/photos/angola.png" />
     
            <img id="ouganda" src="/photos/ouganda.png" />
     
            <img id="rwanda" src="/photos/rwanda.png" />
     
            <img id="burundi" src="/photos/burundi.png" />
     
            <img id="tanzanie" src="/photos/tanzanie.png" />
     
            <img id="mozambique" src="/photos/mozambique.png" />
     
            <img id="malawi"  src="/photos/malawi.png"/>
     
            <img id="zambie" src="/photos/zambie.png" />
     
            <img id="zimbawe" src="/photos/zimbawe.png" />
     
            <img id="namibie" src="/photos/namibie.png" />
     
            <img id="botswana" src="/photos/botswana.png" />
     
     
           -------------------------------------------------------
     
    <div id="popup_sn" class="popup_block">
    	<h2>Code A mettre pour galsene</h2>
    </div>
     
            <div id="popup_maur" class="popup_block">
                <h2>Code A mettre pour mauritanie</h2>
            </div>
     
     
     
     
        </form>
    </body>
    </html>

  6. #6
    Membre très actif
    Homme Profil pro
    etudiant
    Inscrit en
    Mai 2010
    Messages
    222
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Sénégal

    Informations professionnelles :
    Activité : etudiant

    Informations forums :
    Inscription : Mai 2010
    Messages : 222
    Par défaut
    Bonjour , le problème est résolu pour cela , j'ai utilisé z-index . Merci

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

Discussions similaires

  1. Réponses: 0
    Dernier message: 09/08/2007, 09h57
  2. [SVG] Affiché des images dans un rectangle sous firefox
    Par Spiderben dans le forum Firefox
    Réponses: 0
    Dernier message: 31/07/2007, 22h45
  3. [Image]encadrer une partir d'une image
    Par gloglo dans le forum Word
    Réponses: 4
    Dernier message: 28/05/2007, 13h49
  4. affichage d'une image réactive en css sous un menu
    Par criscaro dans le forum Mise en page CSS
    Réponses: 4
    Dernier message: 02/12/2006, 12h21
  5. Comment inserer une image dans une table sous sql qerveur
    Par zeddy23 dans le forum Bases de données
    Réponses: 4
    Dernier message: 25/02/2005, 08h51

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