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 :

Incompatibilité IE7 / Firefox


Sujet :

CSS

  1. #1
    Membre averti 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
    Points : 345
    Points
    345
    Par défaut Incompatibilité IE7 / Firefox
    Salut à tous,
    Une fois de plus, je viens de découvrir que ma page ne s'affiche pas de la meme manière sous firefox que sous IE7!
    Nickel sous IE7 et décalé sous Firefox ! ahahahaha
    Surtout que je ne vois vraiment pas d'ou cela peut-il provenir!
    Je déprime et ne trouve pas!
    Voici le lien vers mon site : http://www.net-productions.fr
    Fichier 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
     
    html {
     background:#666666;
    }
    body {
     width:850px;
     height:900px ;
     margin: 0 ;
     padding: 0 ;
     font: 10pt Verdana, Arial, Helvetica, sans-serif ;
     margin-left: auto;
     margin-right: auto;
     text-align: left;
     background:#666666;
     
    }
    #global {
     width:850px;
     height:900px ;
     margin: 0px auto;
     padding: 0;
     text-align: left ;
    }
    #header {
     padding: 0 ;
     margin: 0;
     width:850px;
     height: 212px ;
     background-image: url(images/kgnp_01.png);
    }
    #content {
     padding: 0 ;
     margin: 0;
     width:850px;
     height: 600px ;
    }
    #bande_gauche {
     float:left ;
     padding: 0 ;
     margin: 0;
     width:24px;
     height: 600px ;
     background-image: url(images/kgnp_02.png);
    }
    #bande_menu {
     float:left;
     padding: 0 ;
     margin: 0;
     width:170px;
     height: 600px ;
    }
    #telephone {
     float:none;
     padding: 0 ;
     margin: 0;
     width:170px;
     height: 147px ;
     background-image: url(images/kgnp_03.png);
     text-align:center;
    }
    #telephone p {
     color:white;
     text-align:center ;
     font-size:20px;
     font-weight:bold;
     font:Verdana;
    }
    #spacer_menu1 {
     padding: 0 ;
     margin: 0;
     width:170px;
     height: 29px ;
     background-image: url(images/kgnp_10.png);
    }
    #menu {
     padding: 0 ;
     margin: 0;
     width:170px;
     height: 202px ;
     background-image: url(images/kgnp_11.png);
    }
    #spacer_menu2 {
     padding: 0 ;
     margin: 0;
     width:170px;
     height: 27px ;
     background-image: url(images/kgnp_12.png);
    }
    #download {
     padding: 0 ;
     margin: 0;
     width:170px;
     height: 195px ;
     background-image: url(images/kgnp_13.png);
     text-align:center;
     color:#FFFFFF;
     font-size:12px;
    }
    #download a {
     text-decoration:none;
     font-size:12px;
     color:#FFFFFF;
    }
    #download a:hover {
     font-size:14px;
     color:#999999;
    }
    #bande_milieu {
     float:left;
     padding: 0 ;
     margin: 0;
     width:34px;
     height: 600px ;
     background-image: url(images/kgnp_04.png);
    }
    #contenu {
     float:left;
     padding: 0 ;
     margin: 0;
     width:597px;
     height: 600px ;
    }
    #header_contenu {
     padding: 0 ;
     margin: 0;
     width:597px;
     height: 43px ;
    }
    #spacer_content1 {
     float:left;
     padding: 0 ;
     margin: 0;
     width:119px;
     height: 43px ;
     background-image: url(images/kgnp_05.png);
    }
    #titre {
     float:left;
     padding: 0 ;
     margin: 0;
     width:478px;
     height: 43px ;
     background-image: url(images/kgnp_06.png);
     text-align:right;
     color:#FFFFFF;
     font-weight:bold;
     font-size:28px;
    }
    #spacer_content2 {
     padding: 0 ;
     margin: 0;
     width:597px;
     height: 23px ;
     background-image: url(images/kgnp_08.png);
    }
    #text {
     padding: 0 ;
     margin: 0;
     width:597px;
     height: 534px ;
     background-image: url(images/kgnp_09.png);
    }
    #text h2 {
     text-align:center ;
     color:#000066;
    }
    #text h3 {
     text-align:center ;
     font-size:11px;
     color:#333333;
    }
    #text p.normal {
     text-align:center;
     color:#000066;
    }
    #text p.rouge_gras {
     text-align:center;
     font-weight:bold;
     color:#FF0000;
     font-size:16px;
    }
    #text p.rouge {
     text-align:center;
     font-weight:bold;
     color:#CC0000;
     font-size:14px;
    }
    #text a {
     text-align:center;
    }
    #text p {
     text-align:center ;
     font-size:12px;
     color:#000066;
    }
    #text a {
     text-decoration:none ;
     color:#000066;
    }
    #text a:hover {
     text-decoration:none ;
     color:#000099;
    }
    #text table {
     text-align:center;
    }
    #text li {
     color:#000066;
    }
    #text span.rouge_gras {
     color:#FF0000;
     font-weight:bold;
    }
    #bande_droite {
     float:left ;
     padding: 0 ;
     margin: 0;
     width:25px;
     height: 600px ;
     background-image: url(images/kgnp_07.png);
    }
    #spacer_footer {
     padding: 0 ;
     margin: 0;
     width:850px;
     height: 25px ;
     background-image: url(images/kgnp_14.png);
    }
    #footer {
     padding: 0 ;
     margin: 0;
     width:850px;
     height: 63px ;
     background-image: url(images/kgnp_15.png);
     text-align:center ;
     color:#333333;
     font-size:11px;
    }
    #footer p {
     font-size:11px;
    }
    #footer a {
     text-decoration:none;
     color:#333333;
     font-size:11px;
    }
    #footer a:hover {
     color:#000000;
    }
    #glossymenu{
     list-style-type: none;
     margin: 0;
     padding: 0;
     width: 178px;
     border: 1px solid #9A9A9A;
     border-bottom-width: 0;
    }
    #glossymenu li a{
     background: white url(images/glossyback.png) repeat-x bottom left;
     font: 13px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
     color:white;
     display: block;
     height: 24px;
     width: 178px;
     padding: 8px 0;
     padding-left: 10px;
     text-decoration: none;
    }
     
    * html #glossymenu li a{ /*IE only. Actual menu width minus left padding of A element (10px) */
     width: 178px;
    }
    #glossymenu li a:visited, .glossymenu li a:active{
     color: white;
    }
    #glossymenu li a:hover{
     background-image: url(images/glossyback2.png);
    }
     
    #glossymenu, #glossymenu ul { /* all lists */
     padding: 0;
     margin: 0;
     list-style: none;
     float : left;
     width : 186px;
    }
    #glossymenu li ul { /* second-level lists */
     position : absolute;
     left: -999em;
     margin-left : 12.5em;
     margin-top : -2.0em;
    }
    #glossymenu li:hover ul, #glossymenu li li:hover ul, #glossymenu li li li:hover ul, #glossymenu li.sfhover ul, #glossymenu li li.sfhover ul, #glossymenu li li li.sfhover ul { /* lists nested under hovered list items */
     left: auto;
     min-height: 0;
    }
    Merci pour votre aide!

  2. #2
    Membre émérite
    Avatar de Candygirl
    Femme Profil pro
    Inscrit en
    Juillet 2006
    Messages
    1 912
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 52
    Localisation : Suisse

    Informations forums :
    Inscription : Juillet 2006
    Messages : 1 912
    Points : 2 907
    Points
    2 907
    Par défaut
    A première vue je pencherais pour un problème de fusion des marges qui n'apparait pas sur IE vu que les éléments parents ont le layout ce qui crèe un nouveau contexte de formatage.

  3. #3
    Membre averti 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
    Points : 345
    Points
    345
    Par défaut
    merci pour le tip mais ca reste plutot flou à mes yeux...
    Tu crois kil y a fusion des marges ? J'en doute...mais je veux bien te croire! Je jette un coup d'oeil

  4. #4
    Membre averti 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
    Points : 345
    Points
    345
    Par défaut
    Tu avais raison,
    Apres quelques recherches, il fallait que je redéfinissent les propriétés de marges et padding pour les <p> dans les div concernés par le décalage!
    Merci pour tous ces liens! c'était génial d'apprendre tout ca...

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

Discussions similaires

  1. Incompatibilité IE7 / Firefox
    Par rems033 dans le forum Mise en page CSS
    Réponses: 8
    Dernier message: 03/01/2008, 12h23
  2. Incompatibilité javascript Firefox
    Par stefcor dans le forum Général JavaScript
    Réponses: 5
    Dernier message: 07/03/2007, 09h59
  3. [CSS] probleme d'incompatibilité IE/Firefox
    Par jmjmjm dans le forum Mise en page CSS
    Réponses: 3
    Dernier message: 05/09/2006, 14h23
  4. Petite incompatibilité IE / FireFox
    Par mathieu77186 dans le forum Général JavaScript
    Réponses: 2
    Dernier message: 04/09/2006, 17h37
  5. Incompatibilité sous firefox
    Par NeHuS dans le forum ASP
    Réponses: 4
    Dernier message: 01/04/2005, 11h02

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