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 a tous,
    Je me retrouve face a un noouveau pb de compatibilité
    En fait, j'ai un site sur lequel le contenu se découpe en 3 parties:2 spacer sur les bords et un content au centre.
    Le content est cadré mais lorsque je consulte le site sous firefox, il y a un décalage et je ne comprends vraiment pas d'ou cela peut-il provenir...
    Merci pour votre aide...http://www.licences4.net/recherche.php
    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
     
    html {
     margin: 0px auto ;
     padding: 0px ;
    }
    body {
     margin:0px;
     padding:0px;
     background-color:#ECEDF3;
     font-family: Gisha ;
     font-size: 14px;
     color:#000033;
    }
    #global {
     margin:0px auto ;
     padding:0px ;
     width:900px ;
    }
    #header {
     margin:0px ;
     padding:0px ;
     width:900px ;
     height:238px ; 
     background-image:url(../images/kit_01.jpg);
    }
    #infos {
     color:#FFFFFF;
     margin: 0px;
     padding: 0px;
     width: 150px;
     height: 30px;
     position:relative;
     top: 20px;
     left: 765px;
    }
    #spacer {
     float:left;
     margin: 0px;
     padding: 0px;
     width: 13px;
    }
    #cadre {
     margin: 0px;
     padding: 0px;
     width: 871px;
     border-right-width: 1px;
     border-bottom-width: 1px;
     border-left-width: 1px;
     border-right-style: solid;
     border-bottom-style: solid;
     border-left-style: solid;
     border-top-color: #BCBCBC;
     border-right-color: #BCBCBC;
     border-bottom-color: #BCBCBC;
     border-left-color: #BCBCBC;
     border-top-style: none;
    }
    #cadre p {
     margin:5px;
    }
    #cadre h3 {
     margin:5px;
    }
    #cadre2 {
     float:left;
     margin: 0px;
     padding: 0px;
     width: 871px;
     border-right-width: 1px;
     border-bottom-width: 1px;
     border-left-width: 1px;
     border-right-style: solid;
     border-bottom-style: solid;
     border-left-style: solid;
     border-top-color: #BCBCBC;
     border-right-color: #BCBCBC;
     border-bottom-color: #BCBCBC;
     border-left-color: #BCBCBC;
     border-top-style: solid;
     border-top-width: 1px;
    }
    #cadre2 p {
     margin:5px;
    }
    #cadre2 h3 {
     margin:5px;
    }
    #cadre2 a {
     color:#0000CC;
     text-decoration:none;
    }
    #cadre a {
     color:#0000CC;
     text-decoration:none;
    }
    #contenu {
     float:left;
     margin: 0px;
     padding: 0px;
     width: 874px;
    }
    #menu {
     overflow:hidden;
     margin:0px ;
     padding:0px ;
     padding-top: 4px;
     width:900px ;
     height:22px ; 
     background-image:url(../images/kit_02.jpg);
     text-align:center;
     color:#666666;
    }
    #menu a {
     font-family: Gisha ;
     font-size: 14px;
     text-decoration:none;
     color:#FFFFFF;
    }
    #menu a:hover {
     color:#FFCC00;
    }
    #menu a.rouge_gras {
     font-family: Gisha ;
     font-size: 16px;
     text-decoration:none;
     color:#CC0000;
     font-weight:bold;
    }
    #spacer_haut {
     overflow:hidden;
     margin:0px ;
     padding:0px ;
     width:900px ;
     height:11px ; 
     background-image:url(../images/kit_03.jpg);
    }
    #content {
     overflow:hidden;
     margin:0px;
     padding:0px;
     width:900px;
     background-image:url(../images/kit_04.jpg);
     position:relative;
    }
    #content table a {
     text-decoration:none;
     color:#0000CC;
    }
    #content td fieldset legend {
     text-align: center;
     font-weight: bold;
     font-family: Gisha ;
     font-size: 14px;
    }
    #content p.gros_gras {
     font-weight:bold;
     font-size:18px;
    }
    #content a:hover {
     color:#BB0A00;
    }
    #spacer_bas {
     margin:0px ;
     padding:0px ;
     width:900px ;
     height:9px ; 
     background-image:url(../images/kit_06.jpg);
    }
    #footer {
     margin:0px ;
     padding:0px ;
     width:900px ;
     height:74px ; 
     background-image:url(../images/kit_07.jpg);
     text-align:center;
    }
    #footer a {
     color:#FFFFFF;
     font-size:10px;
     text-decoration:none;
    }
    #footer a:hover {
     color:#FFCC00;
    }
    #footer p {
     margin: 0px;
     padding: 0px;
     color:#FFFFFF;
     font-size:10px;
     text-decoration:none;
    }
    #navcontainer {
     float:left;
     margin: 0px;
     padding: 0px;
     width: 873px;
     text-align: center;
    }
    #navlist
    {
     border-bottom: 1px solid #ccc;
     margin: 0;
     padding-bottom: 19px;
     padding-left: 10px;
    }
    #navlist ul, #navlist li
    {
     display: inline;
     list-style-type: none;
     margin: 0;
     padding: 0;
    }
    #navlist a:link, #navlist a:visited
    {
     background: #E8EBF0;
     border: 1px solid #ccc;
     color: #666;
     float: left;
     font-size: small;
     font-weight: normal;
     line-height: 14px;
     margin-right: 8px;
     padding: 2px 10px 2px 10px;
     text-decoration: none;
    }
    #navlist a:link#current, #navlist a:visited#current
    {
     background: #fff;
     border-bottom: 1px solid #fff;
     color: #000;
    }
    #navlist a:hover { color: #f00; }
    body.section-1 #navlist li#nav-1 a, 
    body.section-2 #navlist li#nav-2 a,
    body.section-3 #navlist li#nav-3 a,
    body.section-4 #navlist li#nav-4 a
    {
     background: #fff;
     border-bottom: 1px solid #fff;
     color: #000;
    }
    #navlist #subnav-1,
    #navlist #subnav-2,
    #navlist #subnav-3,
    #navlist #subnav-4
    {
     display: none;
     width: 90%;
    }
    body.section-1 #navlist ul#subnav-1, 
    body.section-2 #navlist ul#subnav-2,
    body.section-3 #navlist ul#subnav-3,
    body.section-4 #navlist ul#subnav-4
    {
     display: inline;
     left: 10px;
     position: absolute;
     top: 95px;
    }
    body.section-1 #navlist ul#subnav-1 a, 
    body.section-2 #navlist ul#subnav-2 a,
    body.section-3 #navlist ul#subnav-3 a,
    body.section-4 #navlist ul#subnav-4 a
    {
     background: #fff;
     border: none;
     border-left: 1px solid #ccc;
     color: #999;
     font-size: smaller;
     font-weight: bold;
     line-height: 10px;
     margin-right: 4px;
     padding: 2px 10px 2px 10px;
     text-decoration: none;
    }
    #navlist ul a:hover { color: #f00 !important; }
    #contents
    {
     background: #fff;
     border: 1px solid #ccc;
     border-top: none;
     clear: both;
     margin: 0px;
     padding: 15px;
    }
    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
     
    <? require "cadre_haut.php";?>
      <div id="infos">
             <? datefr() ?>
            </div>
        </div>
        <? require "menu.php";?>
        <div id="spacer_haut"></div>
        <div id="content">
      <div id="spacer"></div>
            <div id="contenu">
                <div id="cadre2">
                 <h3>Recherche Géographique</h3>
                    <p>Notre base de données de licences contient des 
                    licences II, III et IV sur la France entière.<br />
                    <br />
           Pour consulter le nombre de licences disponibles sur votre 
                    département, veuillez cliquer sur votre département.</p>
                    <p align="center">
                     <img src="images/carte-france.png" alt="" width="417" height="492" vspace="20" border="1" usemap="#departements">
                      <map name="departements">
                        <area shape="rect" coords="8, 274, 63, 317" title="Guadeloupe" alt="guadeloupe" href="recherche_result.php?num=971"></area>
                        <area shape="rect" coords="7, 324, 65, 363" title="Martinique" alt="martinique" href="recherche_result.php?num=972"></area>
                        <area shape="rect" coords="9, 376, 59, 421" title="Guyane" alt="guyane" href="recherche_result.php?num=973"></area>
                        <area shape="rect" coords="8, 431, 61, 474" title="Réunion" alt="reunion" href="recherche_result.php?num=974"></area>
                        <area shape="rect" coords="312, 226, 340, 250" title="Ain" alt="Ain" href="recherche_result.php?num=01"></area>
                        <area shape="rect" coords="253, 55, 281, 81" title="Aisne" alt="Aisne" href="recherche_result.php?num=02"></area>
                        <area shape="rect" coords="238, 210, 270, 236" title="Allier" alt="Allier" href="recherche_result.php?num=03"></area>
                        <area shape="rect" coords="349, 321, 378, 346" title="Alpes de Haute-Provence" alt="Alpes-de-Hte-Provence" href="recherche_result.php?num=04"></area>
                        <area shape="rect" coords="347, 292, 390, 309" title="Hautes-Alpes" alt="Hautes-Alpes" href="recherche_result.php?num=05"></area>
                        <area shape="rect" coords="384, 330, 411, 349" title="Alpes-Maritime" alt="Alpes-Maritimes" href="recherche_result.php?num=06"></area>
                        <area shape="rect" coords="289, 290, 306, 311" title="Ardèche" alt="Ardèche" href="recherche_result.php?num=07"></area>
                        <area shape="rect" coords="284, 54, 313, 84" title="Ardennes"alt="Ardennes" href="recherche_result.php?num=08"></area>
                        <area shape="rect" coords="190, 381, 207, 395" title="Ariège" alt="Ariège" href="recherche_result.php?num=09"></area>
                        <area shape="rect" coords="269, 120, 306, 148" title="Aube" alt="Aube" href="recherche_result.php?num=10"></area>
                        <area shape="rect" coords="215, 368, 261, 392" title="Aude" alt="Aude" href="recherche_result.php?num=11"></area>
                        <area shape="rect" coords="222, 308, 256, 334" title="Aveyron" alt="Aveyron" href="recherche_result.php?num=12"></area>
                        <area shape="rect" coords="305, 347, 345, 371" title="Bouches-du-Rhône" alt="Bouches-du-Rhône" href="recherche_result.php?num=13"></area>
                        <area shape="rect" coords="126, 78, 163, 103" title="Calvados" alt="Calvados" href="recherche_result.php?num=14"></area>
                        <area shape="rect" coords="226, 272, 255, 298" title="Cantal" alt="Cantal'" href="recherche_result.php?num=15"></area>
                        <area shape="rect" coords="142, 242, 169, 266" title="Charente" alt="Charente" href="recherche_result.php?num=16"></area>
                        <area shape="rect" coords="104, 233, 138, 261" title="Charente-Maritime" alt="Charente-Maritime" href="recherche_result.php?num=17"></area>
                        <area shape="rect" coords="219, 179, 251, 204" title="Cher" alt="Cher" href="recherche_result.php?num=18"></area>
                        <area shape="rect" coords="196, 263, 226, 285" title="Corrèze" alt="Corrèze" href="recherche_result.php?num=19"></area>
                        <area shape="rect" coords="370, 412, 398, 451" title="Haute-Corse"alt="haute corse" href="recherche_result.php?num=2B"></area>
                        <area shape="rect" coords="358, 452, 381, 490" title="Corse du Sud" alt="corse du sud" href="recherche_result.php?num=2A"></area>
                        <area shape="rect" coords="289, 156, 326, 193" title="Côte d'Or" alt="Côte-d'Or " href="recherche_result.php?num=21"></area>
                        <area shape="rect" coords="45, 100, 87, 132" title="Côtes d'Armor" alt="Côtes d'Armor" href="recherche_result.php?num=22"></area>
                        <area shape="rect" coords="201, 227, 233, 254" title="Creuse" alt="Creuse" href="recherche_result.php?num=23"></area>
                        <area shape="rect" coords="160, 274, 191, 297" title="Dordogne" alt="Dordogne" href="recherche_result.php?num=24"></area>
                        <area shape="rect" coords="345, 173, 376, 194" title="Doubs" alt="Doubs" href="recherche_result.php?num=25"></area>
                        <area shape="rect" coords="316, 283, 334, 323" title="Drôme" alt="Drôme" href="recherche_result.php?num=26"></area>
                        <area shape="rect" coords="177, 90, 193, 105" title="Eure" alt="Eure" href="recherche_result.php?num=27"></area>
                        <area shape="rect" coords="180, 114, 210, 141" title="Eure-et-Loire" alt="Eure-et-Loir" href="recherche_result.php?num=28"></area>
                        <area shape="rect" coords="7, 104, 37, 145" title="Finistère" alt="Finistère" href="recherche_result.php?num=29"></area>
                        <area shape="rect" coords="284, 320, 307, 346" title="Gard" alt="Gard" href="recherche_result.php?num=30"></area>
                        <area shape="rect" coords="186, 347, 208, 370" title="Haute-Garonne" alt="Haute-Garonne" href="recherche_result.php?num=31"></area>
                        <area shape="rect" coords="153, 336, 179, 363" title="Gers" alt="Gers" href="recherche_result.php?num=32"></area>
                        <area shape="rect" coords="110, 281, 151, 310" title="Gironde" alt="Gironde" href="recherche_result.php?num=33"></area>
                        <area shape="rect" coords="252, 343, 287, 371" title="Hérault" alt="Hérault" href="recherche_result.php?num=34"></area>
                        <area shape="rect" coords="88, 126, 118, 152" title="Ille-et-Vilaine" alt="Ille-et-Vilaine" href="recherche_result.php?num=35"></area>
                        <area shape="rect" coords="186, 192, 220, 220" title="Indre" alt="Indre" href="recherche_result.php?num=36"></area>
                        <area shape="rect" coords="161, 168, 187, 197" title="Indre-et-Loire" alt="Indre-et-Loire" href="recherche_result.php?num=37"></area>
                        <area shape="rect" coords="321, 261, 347, 282" title="Isère" alt="Isère" href="recherche_result.php?num=38"></area>
                        <area shape="rect" coords="330, 195, 348, 221" title="Jura" alt="Jura" href="recherche_result.php?num=39"></area>
                        <area shape="rect" coords="106, 316, 136, 350" title="Landes" alt="Landes" href="recherche_result.php?num=40"></area>
                        <area shape="rect" coords="186, 154, 212, 185" title="Loir-et-Cher" alt="Loir-et-Cher" href="recherche_result.php?num=41"></area>
                        <area shape="rect" coords="275, 230, 292, 263" title="Loire" alt="Loire" href="recherche_result.php?num=42"></area>
                        <area shape="rect" coords="261, 274, 290, 294" title="Haute-Loire" alt="Haute-Loire" href="recherche_result.php?num=43"></area>
                        <area shape="rect" coords="83, 161, 116, 191" title="Loire-Atlantique" alt="Loire-Atlantique" href="recherche_result.php?num=44"></area>
                        <area shape="rect" coords="211, 140, 248, 164" title="Loiret" alt="Loiret" href="recherche_result.php?num=45"></area>
                        <area shape="rect" coords="190, 298, 217, 323" title="Lot" alt="Lot" href="recherche_result.php?num=46"></area>
                        <area shape="rect" coords="150, 306, 177, 333" title="Lot-et-Garonne" alt="Lot-et-Garonne" href="recherche_result.php?num=47"></area>
                        <area shape="rect" coords="257, 298, 281, 326" title="Lozère" alt="Lozère" href="recherche_result.php?num=48"></area>
                        <area shape="rect" coords="122, 158, 152, 188" title="Maine-et-Loire" alt="Maine-et-Loire" href="recherche_result.php?num=49"></area>
                        <area shape="rect" coords="104, 60, 124, 118" title="Manche" alt="Manche" href="recherche_result.php?num=50"></area>
                        <area shape="rect" coords="269, 85, 308, 117" title="Marne" alt="Marne" href="recherche_result.php?num=51"></area>
                        <area shape="rect" coords="312, 135, 330, 152" title="Haute-Marne" alt="Haute-Marne" href="recherche_result.php?num=52"></area>
                        <area shape="rect" coords="117, 123, 147, 154" title="Mayenne" alt="Mayenne" href="recherche_result.php?num=53"></area>
                        <area shape="rect" coords="340, 111, 358, 126" title="Meurthe-et-Moselle" alt="Meurthe-et-Moselle" href="recherche_result.php?num=54"></area>
                        <area shape="rect" coords="313, 76, 331, 124" title="Meuse" alt="Meuse" href="recherche_result.php?num=55"></area>
                        <area shape="rect" coords="48, 140, 84, 165" title="Morbihan" alt="Morbihan" href="recherche_result.php?num=56"></area>
                        <area shape="rect" coords="353, 90, 370, 105" title="Moselle" alt="Moselle" href="recherche_result.php?num=57"></area>
                        <area shape="rect" coords="251, 172, 278, 197" title="Nièvre" alt="Nièvre" href="recherche_result.php?num=58"></area>
                        <area shape="rect" coords="251, 33, 267, 47" title="Nord" alt="Nord" href="recherche_result.php?num=59"></area>
                        <area shape="rect" coords="213, 70, 249, 90" title="Oise" alt="Oise" href="recherche_result.php?num=60"></area>
                        <area shape="rect" coords="133, 106, 179, 125" title="Orne" alt="Orne" href="recherche_result.php?num=61"></area>
                        <area shape="rect" coords="207, 19, 236, 42" title="Pas-de-Calais" alt="Pas-de-Calais" href="recherche_result.php?num=62"></area>
                        <area shape="rect" coords="239, 243, 271, 273" title="Puy-de-Dôme" alt="Puy-de-Dôme" href="recherche_result.php?num=63"></area>
                        <area shape="rect" coords="97, 359, 136, 385" title="Pyrénées-Atlantiques" alt="Pyrénées-Atlantiques" href="recherche_result.php?num=64"></area>
                        <area shape="rect" coords="144, 374, 163, 389" title="Hautes-Pyrénées" alt="Hautes-Pyrénées" href="recherche_result.php?num=65"></area>
                        <area shape="rect" coords="223, 394, 257, 415" title="Pyrénées-Orientales" alt="Pyrénées-Orientales" href="recherche_result.php?num=66"></area>
                        <area shape="rect" coords="379, 95, 403, 129" title="Bas-Rhin" alt="Bas-Rhin" href="recherche_result.php?num=67"></area>
                        <area shape="rect" coords="377, 131, 397, 166" title="Haut-Rhin" alt="Haut-Rhin" href="recherche_result.php?num=68"></area>
                        <area shape="rect" coords="297, 229, 311, 262" title="Rhône" alt="Rhône" href="recherche_result.php?num=69"></area>
                        <area shape="rect" coords="334, 147, 355, 172" title="Haute-Saône" alt="Haute-Saône" href="recherche_result.php?num=70"></area>
                        <area shape="rect" coords="280, 191, 322, 222" title="Saône-et-Loire" alt="Saône-et-Loire" href="recherche_result.php?num=71"></area>
                        <area shape="rect" coords="146, 130, 178, 163" title="Sarthe" alt="Sarthe" href="recherche_result.php?num=72"></area>
                        <area shape="rect" coords="354, 254, 385, 279" title="Savoie" alt="Savoie" href="recherche_result.php?num=73"></area>
                        <area shape="rect" coords="350, 226, 379, 250" title="Haute-Savoie" alt="Haute-Savoie" href="recherche_result.php?num=74"></area>
                        <area shape="rect" coords="25, 31, 40, 41" title="Paris" alt="Paris" href="recherche_result.php?num=75"></area>
                        <area shape="rect" coords="162, 53, 208, 79" title="Seine-Maritime" alt="Seine-Maritime" href="recherche_result.php?num=76"></area>
                        <area shape="rect" coords="239, 103, 258, 131" title="Seine-et-Marne" alt="Seine-et-Marne" href="recherche_result.php?num=77"></area>
                        <area shape="rect" coords="205, 100, 221, 115" title="Yvelines" alt="Yvelines" href="recherche_result.php?num=78"></area>
                        <area shape="rect" coords="132, 192, 150, 232" title="Deux-Sèvres" alt="Deux-Sèvres " href="recherche_result.php?num=79"></area>
                        <area shape="rect" coords="208, 50, 247, 69" title="Somme" alt="Somme" href="recherche_result.php?num=80"></area>
                        <area shape="rect" coords="208, 334, 236, 357" title="Tarn" alt="Tarn" href="recherche_result.php?num=81"></area>
                        <area shape="rect" coords="183, 326, 200, 340" title="Tarn-et-Garonne" alt="Tarn-et-Garonne" href="recherche_result.php?num=82"></area>
                        <area shape="rect" coords="348, 351, 384, 375" title="Var" alt="Var" href="recherche_result.php?num=83"></area>
                        <area shape="rect" coords="318, 330, 337, 344" title="Vaucluse" alt="Vaucluse" href="recherche_result.php?num=84"></area>
                        <area shape="rect" coords="89, 197, 127, 224" title="Vendée" alt="Vendée" href="recherche_result.php?num=85"></area>
                        <area shape="rect" coords="154, 196, 178, 230" title="Vienne" alt="Vienne" href="recherche_result.php?num=86"></area>
                        <area shape="rect" coords="179, 240, 202, 264" title="Haute-Vienne" alt="Haute-Vienne" href="recherche_result.php?num=87"></area>
                        <area shape="rect" coords="348, 130, 365, 146" title="Vosges" alt="Vosges" href="recherche_result.php?num=88"></area>
                        <area shape="rect" coords="251, 146, 288, 165" title="Yonne" alt="Yonne" href="recherche_result.php?num=89"></area>
                        <area shape="rect" coords="365, 152, 378, 167" title="Territoire de Belfort" alt="Territoire de Belfort" href="recherche_result.php?num=90"></area>
                        <area shape="rect" coords="218, 117, 233, 127" title="Essonne" alt="Essonne" href="recherche_result.php?num=91"></area>
                        <area shape="rect" coords="18, 44, 32, 56" title="Hauts-de-Seine" alt="Hauts-de-Seine" href="recherche_result.php?num=92"></area>
                        <area shape="rect" coords="39, 13, 56, 28" title="Seine-Saint-Denis" alt="Seine-Saint-Denis" href="recherche_result.php?num=93"></area>
                        <area shape="rect" coords="40, 47, 58, 58" title="Val-de-Marne" alt="Val-de-Marne" href="recherche_result.php?num=94"></area>
                        <area shape="rect" coords="217, 90, 230, 100" title="Val-d'Oise" alt="Val-d'Oise" href="recherche_result.php?num=95"></area>
                        </map>
                    </p>
              </div>
            </div>
            <div id="spacer"></div>  
     </div>
    <? require "cadre_bas.php";?>

  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
    Hello,

    Citation Envoyé par rems033 Voir le message
    2 spacer sur les bords et un content au centre
    Il n'y a pas grand sens à monter un site en css en gardant une logique et une structure montage en tableau. Pourquoi n'utilises-tu pas simplement un margin, ou un padding ?

    Ton "spacer" n'a pas de contenu, donc pas de hauteur, sauf sur IE qui lui attribue par défaut la hauteur d'un line-height.

  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
    Pour t'expliquer un peu ce que je voulais faire, je voulais que mon contenu s'ajuste a la hauteur totale de mon contenu. Alors en fait je voulais creer 1 div dont la hauteur varie en insérant en repeat-y mon image de fond...Cependant, je voulais laisser des marges libres pour avoir un contenu clair...Ya -t-il un autre moyan?

  4. #4
    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
    perso je voyais qqch du genre:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    #contenu {
     margin: 0 13px;
     padding: 0;
    }
    et virer tes 2 div spacer

  5. #5
    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
    et j'attache ma background-image a ce div?

  6. #6
    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
    Je n'ai pas étudié toute ta structure, je me suis juste arrêtée à ton problème. SI tu veux attribuer ton fond à l'élément en question tu dois utiliser un padding et pas un margin:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    #content {
     padding:0 13px;
     background-image:url(../images/kit_04.jpg);
    }
    et en virant le #contenu

  7. #7
    Membre régulier
    Inscrit en
    Juillet 2007
    Messages
    113
    Détails du profil
    Informations forums :
    Inscription : Juillet 2007
    Messages : 113
    Points : 97
    Points
    97
    Par défaut
    J'ia pas lu tout ton code, mais tes décalages viennent probablement des attributs padding, interprétés différemment par FF et IE.

    Pour remédier au problème, je sais qu'il existe une ligne de code pseudo-html (je sais pas trop de quel langage il s'agit) qui permet de définir une feuille de style spécifique à IE....

    Crdlt,

    Val

  8. #8
    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 candygirl, ta solution est la bonne...seulement, je ne comprends pas pourkoi, une bande apparait tout a droite, c'est curieux, je vais chercher ca...

  9. #9
    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
    C'est bon, j'ai trouvé...il fallait kje vire la largeur et tout marche nickel sur les 2 navigateurs...
    Merci encore

+ 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: 3
    Dernier message: 05/12/2007, 15h42
  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