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é IE6 et IE7


Sujet :

CSS

  1. #1
    Membre éclairé Avatar de rems033
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    513
    Détails du profil
    Informations personnelles :
    Localisation : France, Isère (Rhône Alpes)

    Informations forums :
    Inscription : Mai 2007
    Messages : 513
    Par défaut Compatibilité IE6 et IE7
    Salut à tous !
    Pour visualiser mon problème, rien de mieux qu'un lien que voici

    En fait, mon bandeau de connexion en haut ainsi que le menu disparaissent sous IE6 et non sous IE7 et FF3 !!

    Je ne vois pas du tout d'ou peut provenir mon erreur.
    Voici quelques lignes de code qui vous aideront pitetre ?
    CSS Général du design de page :
    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
     
    html {
        margin: auto ;
        padding: auto ;
    }
     
    body {
        margin: auto ;
        padding: 0px ;
        background-image:url(../images/kg_01.png) ;
        background-repeat:repeat-x ;
        background-color:#FFFFFF;
        overflow:hidden ;
        font: 100.01%/1.3 Verdana,Arial,sans-serif;text-align:center
    }
     
    #global {
        width:898px ;
        position:absolute ;
        left:50% ;
        margin-left: -449px;
        overflow:hidden ;
    }
     
    #header {
        width:898px;
        margin:0px;
        padding:0px;
        overflow:hidden ;
    }
     
    #spacer_gauche_header {
        float:left ;
        width:25px ;
        height:161px ;
        margin:0px;
        padding:0px;
        background-image:url(../images/kg_02.png) ;
        repeat:none ;
        overflow:hidden ;
    }
     
    #content_header {
        float:left ;
        width:852px ;
        margin:0px;
        padding:0px;
        overflow:hidden ;
    }
     
    #spacer_droite_header {
        float:left ;
        width:21px ;
        height:161px ;
        margin:0px;
        padding:0px;
        background-image:url(../images/kg_05.png) ;
        repeat:none ;
        overflow:hidden 
    }
     
    #content1 {
        width:852px ;
        height:132px ;
        margin:0px;
        padding:0px;
        overflow:hidden ;
    }
     
    #logo {
        float:left ;
        width: 262px ;
        height: 132px ;
        background-image:url(../images/kg_03.png) ;
        overflow:hidden ;
    }
     
    #logo_left {
        float:left ;
        width: 590px ;
        height:132px ;
        margin:0px ;
        padding:0px ;
    }
     
    #logo_left_up {
        width: 590px ;
        height:81px ;
        margin:0px ;
        padding:0px ;    
        padding-top:3px ;
        padding-left:100px ;
        background-image:url(../images/kg_04.png) ;
        background-repeat:no-repeat ;
        overflow:hidden ;
        text-align:left ;
        font: bold 10px "Trebuchet MS" ;
        font-size: 10px ;
        color:#FFFFFF ;
    }
     
    #logo_left_up input {
        width:16 ;
        height:10px ;
        font-size: 10px ;
    }
     
     
    /* button submit */
    #logo_left_up input[type="submit"]
    {
        padding-top:1px ;
        height:17px ;
        border: #4d5f82 1px solid;
    }
     
    #logo_left_up input[type="submit"]:hover
    {
        background-color: #9196a1;
        color:#C0CBE2 ;
        cursor: pointer;
    }
     
    #logo_left_up input[type="reset"]
    {
        border: #DDEEFF 1px solid;
    }
     
    #logo_left_up input[type="reset"]:hover
    {
        background-color: #E6484D;
        cursor: pointer;
    }
     
     
    #logo_left_up a {
        text-decoration: none;
        color: #fff;
    }
     
    #logo_left_up a:hover {
        color:#FFCC33;
    }
     
    #logo_left_down {
        width: 590px ;
        height:81px ;    
        overflow:hidden ;
        text-align:right;
    }
     
    #content_global {
        width:852px;
        margin:0px;
        padding:0px;
        padding-top:5px ;
        background-image:url(../images/kg_08.png) ;
        background-repeat:no-repeat ;
        overflow:hidden ;
    }
     
    .transparent {
          filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop src='images/attention_rouge.png');
    }
     
    .valid_login {
        height:22px ;
        width:3 ;
        font-size:10px ;
        font-family:"Trebuchet MS" ;
        color:#003333 ;
        background-color:#A4AAD3 ;
        border: 1px solid #4A5D7F;
    }
     
    /* Curved cutout Borders*/
     
    .raised {
        background:transparent; 
          width:840px ;
    }
    .raised h1, .raised p {
          margin:0 10px;
    }
    .raised h1 {
          font-size:2em; 
          color:#005680;
    }
    .raised p {
          padding-bottom:0.5em;
    }
    .raised .b1, .raised .b2, .raised .b3, .raised .b4, .raised .b1b, .raised .b2b, .raised .b3b, .raised .b4b {
        display:block; 
        overflow:hidden;
        font-size:1px;
    }
    .raised .b1, .raised .b2, .raised .b3, .raised .b1b, .raised .b2b, .raised .b3b {
          height:1px;
    }
    .raised .b2 {
        background:#FFFFFF; 
        border-left:1px solid #999999; 
        border-right:1px solid #999999;
    }
    .raised .b3 {
        background:#FFFFFF; 
        border-left:1px solid #999999; 
        border-right:1px solid #999999;
    }
    .raised .b4 {
        background:#FFFFFF; 
        border-left:1px solid #999999; 
        border-right:1px solid #999999;
    }
    .raised .b4b {
        background:#FFFFFF; 
        border-left:1px solid #999999; 
        border-right:1px solid #999999;
    }
    .raised .b3b {
        background:#FFFFFF; 
        border-left:1px solid #999999; 
        border-right:1px solid #999999;
    }
    .raised .b2b {
        background:#FFFFFF; 
        border-left:1px solid #999999; 
        border-right:1px solid #999999;
    }
    .raised .b1 {
        margin:0 5px; 
        background:#FFFFFF;
    }
    .raised .b2, .raised .b2b {
        margin:0 3px; 
        border-width:0 2px;
    }
    .raised .b3, .raised .b3b {
        margin:0 2px;
    }
    .raised .b4, .raised .b4b {
        height:2px; 
        margin:0 1px;
    }
    .raised .b1b {
        margin:0 5px ; 
        background:#999999 ;
    }
     
    #boxcontent {
        display:block;  
        background:#FFFFFF; 
        border-left:1px solid #999999 ; 
        border-right:1px solid #999999 ;
    }
     
    .gauche {
        background:none ;
        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop src='images/accueil_01.png');
        background-repeat:no-repeat ;
    }
     
    #time {
        text-align:center ;
        margin:0px ;
        padding:0px;
        padding-top:10px;
        width:128px ;
        height:128px ;
    }
     
    #time_title {
        width:128px ;
        height:34px ;
        margin:0px;
        padding:0px;
        background-image:url(../images/calendar_01.png) ;
        background-repeat:no-repeat ;
        overflow:hidden;
     
    }
     
    #time_title p {
        margin:0px;
        padding:0px;
        padding-top:3px;
        text-align:center ;
        color:#FFFFFF;
        font-size:20px;
        font-weight:bold;
    }
     
    #time_content {
        width:128px ;
        height:74px ;
        margin:0px;
        padding:0px;
        background-image:url(../images/calendar_02.png) ;
        background-repeat:no-repeat ;
        overflow:hidden;
    }
     
    #time_content p {
        margin:0px;
        padding:0px;
        text-align:center ;
        color:#004364;
        font-size:40px;
        font-weight:bold;
    }
     
    #time_content p.time {
        margin:0px;
        padding:0px;
        text-align:center ;
        color:#004364;
        font-size:16px ;
        font-weight:bold ;
        font-family:"Trebuchet MS" ;
    }
     
    #time_footer {
        width:128px ;
        height:20px ;
        margin:0px;
        padding:0px;
        background-image:url(../images/calendar_03.png) ;
        background-repeat:no-repeat ;
        overflow:hidden;
    }
    CSS du menu :
    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
     
    #accueil {
        float:left;
        margin:0px;
        padding:0px;
        height:51px;
        width:116px;
    }
     
    #annonces {
        float:left;
        margin:0px;
        padding:0px;
        height:51px;
        width:106px;
    }
     
    #metier {
        float:left;
        margin:0px;
        padding:0px;
        height:51px;
        width:74px;
    }
     
    #reglementation {
        float:left;
        margin:0px;
        padding:0px;
        height:51px;
        width:148px;
    }
     
    #liens {
        float:left;
        margin:0px;
        padding:0px;
        height:51px;
        width:57px;
    }      
     
    #contact {
        float:left;
        margin:0px;
        padding:0px;
        height:51px;
        width:89px;
    }
    HTML de l'index :
    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
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>.:: Licence-Taxi.fr ::. Le portail de la licence de Taxi en France</title>
    <link href="css/design.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="css/menu_move.css" type="text/css" media="screen">
    <link rel="stylesheet" type="text/css" href="css/messages.css" />
    <!--[if lt IE 7]>
    <script defer type="text/javascript" src="scripts/pngfix.js"></script>
    <![endif]-->
    <script type="text/javascript" src="scripts/messages.js"></script>
    <script type="text/javascript">
    function UR_Start() 
    {
        UR_Nu = new Date;
        UR_Indhold = showFilled(UR_Nu.getHours()) + ":" + showFilled(UR_Nu.getMinutes()) + ":" + showFilled(UR_Nu.getSeconds());
        document.getElementById("ur").innerHTML = UR_Indhold;
        setTimeout("UR_Start()",1000);
    }
    function showFilled(Value) 
    {
        return (Value > 9) ? "" + Value : "0" + Value;
    }
     
    </script>
     
    </head>
     
    <body onload="UR_Start()">
    <?php
        require_once("scripts/date.php") ;
    ?>
    <div id="global">
        <div id="header">
            <div id="spacer_gauche_header"></div>
            <div id="content_header">
                <div id="content1">
                    <div id="logo">
                    </div>
                    <div id="logo_left">
                        <div id="logo_left_up">
                            <form action="#" onsubmit="return validate(this)" method="post">
                            email&nbsp;&nbsp;<input type="text" size="16" id="login" iname="login">
                            &nbsp;&nbsp;
                            Mdp&nbsp;&nbsp;<input type="password" size="16" id="mdp2" name="mdp2">&nbsp;
                            <input name="valid" type="submit" value="OK"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <a href="#">mdp oublié?</a>&nbsp;&nbsp;&nbsp;&nbsp;
                            <a href="#">Rejoignez-nous</a>
                            </form>
                        </div>
                        <div id="logo_left_down">
                            <div id="accueil">
                                <a href="#" title="" onmouseover="document.accueil.src='images/accueil_hover.png'"
                    onmouseout="document.accueil.src='images/accueil.png'"><img src="images/accueil.png" border="0" name="accueil"/></a>
                            </div>
                            <div id="annonces">
                                <a href="#" title="" onmouseover="document.annonces.src='images/annonces_hover.png'"
                    onmouseout="document.annonces.src='images/annonces.png'"><img src="images/annonces.png" border="0" name="annonces"/></a>
                            </div>
                            <div id="metier">
                                <a href="#" title="" onmouseover="document.metier.src='images/metier_hover.png'"
                    onmouseout="document.metier.src='images/metier.png'"><img src="images/metier.png" border="0" name="metier"/></a>
                            </div>
                            <div id="reglementation">
                                <a href="#" title="" onmouseover="document.reglementation.src='images/reglementation_hover.png'"
                    onmouseout="document.reglementation.src='images/reglementation.png'"><img src="images/reglementation.png" border="0" name="reglementation"/></a>
                            </div>
                            <div id="liens">
                                <a href="#" title="" onmouseover="document.liens.src='images/liens_hover.png'"
                    onmouseout="document.liens.src='images/liens.png'"><img src="images/liens.png" border="0" name="liens"/></a>
                            </div>
                            <div id="contact">
                                <a href="#" title="" onmouseover="document.contact.src='images/contact_hover.png'"
                    onmouseout="document.contact.src='images/contact.png'"><img src="images/contact.png" border="0" name="contact"/></a>
                            </div>    
                          </div>
                    </div>
                </div>
                <div id="content_global">
     
                    <div class="raised">
                        <div align="left"><b class="b1"></b>
                            <b class="b2"></b>
                            <b class="b3"></b>
                            <b class="b4"></b>
                        </div>
                        <div id="boxcontent">
                            <table width="95%">
                                <tr>
                                    <td width="30%" align="center">
                                        <table width="100%" align="center">
                                            <tr align="center">
                                                <td>
                                                    <div id="time">
                                                        <div id="time_title">
                                                            <p><?php echo get_month(); ?></p>
                                                        </div>
                                                        <div id="time_content">
                                                            <p><?php echo get_day(); ?></p>
                                                            <p id="ur" class="time"></p> 
                                                        </div>
                                                        <div id="time_footer"></div>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr  align="center" class="gauche">
                                                <td>
                                                test
                                                </td>
                                            </tr>
     
                                        </table>
                                    </td>
                                    <td width="70%" align="left" class="gauche">
                                    test
                                    </td>
                                </tr>
                            </table>
                            <img src="images/logo_lt.png" class="transparent">
                        </div>
                        <b class="b4b"></b>
                        <b class="b3b"></b>
                        <b class="b2b"></b>
                        <b class="b1b"></b>
                  </div>
     
     
                </div>
            </div>
            <div id="spacer_droite_header"></div>
        </div> 
    </div>
     
     
     
     
    </body>
    </html>
    Merci pour votre aide les zammiiiisssss

  2. #2
    Membre éclairé Avatar de rems033
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    513
    Détails du profil
    Informations personnelles :
    Localisation : France, Isère (Rhône Alpes)

    Informations forums :
    Inscription : Mai 2007
    Messages : 513
    Par défaut
    J'ai trouvé une solution en globalisant tous les margin, padding...seulement, un nouveau problème se pose...voir le topic suivant

    Merci quand meme pour votre aide !

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

Discussions similaires

  1. Compatibilité d'une feuille de style avec IE6 et IE7
    Par matimat2k4 dans le forum Mise en page CSS
    Réponses: 10
    Dernier message: 18/05/2008, 23h28
  2. Liste a puce compatibilité ie6 et ie7
    Par snyfir dans le forum Mise en page CSS
    Réponses: 7
    Dernier message: 24/04/2008, 14h09
  3. Compatibilité IE6, IE7, Firefox 2
    Par maxfive7 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 2
    Dernier message: 05/08/2007, 23h26
  4. menu css compatibilité IE6/IE7
    Par dedel53 dans le forum Mise en page CSS
    Réponses: 3
    Dernier message: 17/04/2007, 09h34
  5. Problème compatibilité IE6 / IE7
    Par caroline73 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 3
    Dernier message: 12/12/2006, 17h30

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