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 :

Problème affichage internet Explorer et Firefox


Sujet :

CSS

  1. #1
    Candidat au Club
    Profil pro
    Inscrit en
    Août 2009
    Messages
    5
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2009
    Messages : 5
    Points : 3
    Points
    3
    Par défaut Problème affichage internet Explorer et Firefox
    Salut à tous !
    j'ai un problème de compatibilité juste pour une petite partie de mon blog (wordpress).
    Comme un dessin vaut mieux qu'un long discours

    Comment faire pour avoir le résultat de FireFox dans Internet Explorer. Aidez moi svp, je suis peeeeeeerrrdu !

    Merci à tous


    Code css : 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
    /* 
    Theme Name: Frogz Theme 
    Theme URI:  <a href="http://www.champigneullesbasketball.fr/blog/" target="_blank">http://www.champigneullesbasketball.fr/blog/</a> 
    Description: Mon premier theme cree par Ludovic Vincent 
    Version: 0.1 
    Author: Ludovic Vincent 
      
    Frogz Theme by Ludovic Vincent  
      
    */ 
     
    body { 
               font-family: Lucida Grande, Arial, Helvetica, Sans-serif; 
               font-size: 0.8em; 
               text-align: left; 
     
               background-color: #999393; 
     
               margin: 0; 
    } 
     
     
    #page { 
               margin: 0 auto 0 auto; 
               width: 900px; 
     
    } 
     
     
    #header { 
               font-family: Trebuchet MS, Lucida Grande, Arial, Helvetica, Georgia, Sans-serif; 
               float: left; 
               background:url(/blog/wp-content/themes/frogztheme/composants/headermorceau.gif); 
               background-repeat: x; 
               width: 100%; 
               padding: 0 0px 0px 0px; 
               height: 181px; 
     
     
    } 
     
     
    #logoheader { 
               float: left; 
               width: 347px; 
               margin-bottom: 20px; 
               background:url(/blog/wp-content/themes/frogztheme/composants/logofr.png); 
               height: 142px; 
               background-color:transparent; 
               background-repeat:no-repeat; 
               margin-top: 5px; 
               margin-left: 5px; 
    } 
     
    #loupe { 
               background:url(/blog/wp-content/themes/frogztheme/composants/loupe.png); 
               margin-top: 153px; 
               margin-left: 300px; 
               height: 27px; 
               width: 27px; 
               float: left; 
     
    } 
     
    #searchbar { 
     
               margin-left: 680px; 
               margin-top: 155px; 
     
    } 
     
    #contenu { 
               float: left; 
               width: 900px; 
               margin-bottom: 20px; 
               background-color: #dfe6e7; 
               margin-left:0 px; 
    } 
     
    #content { 
               margin-top: 0px; 
               float: left; 
               width: 660px; 
               margin-left: 0px; 
               background-color: #dfe6e7; 
    } 
     
    .logohautsidebar { 
               background:url(/blog/wp-content/themes/frogztheme/composants/logosansfrogz.png); 
               height:120px; 
               width:228px; 
               margin-top: 10px; 
     
     
    } 
     
    .sidebar { 
               float: right; 
               width: 240px; 
               background-color: #dfe6e7; 
               margin-right: 0px; 
               height: 100%; 
     
    } 
     
    #header h1 { 
            padding: 0 20px 0 0; 
            font-size: 2em; 
            text-align: right; 
    } 
     
    #header p { 
            padding: 0 20px 0 0; 
            font-size: 1em; 
            text-align: right; 
    } 
     
    #content h2 { 
            font-size: 1.3em; 
            margin-left: 20px; 
            padding: 0px; 
            margin-top: 0px; 
            margin-bottom: 0px; 
    } 
     
     
    .commentaire { 
            float: left; 
            font-size: 0.8em; 
            color: #999; 
     
    } 
     
    .postmetadata {         
            margin-left:18px; 
            margin-top: 0px; 
            height: 40px; 
            width: 448px; 
            margin-bottom: 16px; 
            background-image:url(/blog/wp-content/themes/frogztheme/composants/bandeau.png); 
     
    } 
     
     
    .post-date { 
     
    padding-left:17px; 
    float:left; 
    font-weight:bold; 
    margin-top:11px; 
    font-size: 1.7em; 
    } 
     
     
     
     
    .postinfo{ 
     
     
            font-size: 1em; 
            color: #999; 
            margin-left: 25px; 
            margin-top: 13px; 
            float: left; 
    } 
     
    .postcomm{ 
            font-size: 1.1em; 
            color: #999; 
            margin-left: 100px; 
            margin-top: 13px; 
            float: left; 
     
    } 
     
     
     
    .postmetadata p { 
            font-size: 0.8em; 
            color: #999; 
            margin-left: 0px; 
            margin-top: 0px; 
    } 
     
    .post_content { 
            font-size: 1em; 
            color: #555; 
            margin-left: 20px; 
            width: 470px; 
    } 
     
    .navigation { 
    margin: 50%; 
    } 
     
    .sidebar ul{ 
            list-style-type: none; 
            margin: 0; 
            padding: 0 10px; 
    } 
     
     
     
    .sidebar h2 { 
            font-size: 1.2em; 
    } 
     
    .positiontextesidebar { 
     
    } 
     
    #footer p{ 
            padding-top: 40px; 
            font-size: 1em; 
            text-align: center 
    } 
     
    .comments-template{ 
        margin: 10px 0 0 0; 
            margin-left: 20px; 
    } 
     
    .comments-template ol{ 
        margin: 10px; 
        padding: 0 0 0 15px; 
        list-style: none; 
    } 
     
    .comments-template ol p{ 
        font-family: Trebuchet MS, Arial, Hevletica, Sans-serif; 
        font-size: 0.9em; 
    } 
     
    .comments-template ol li{ 
        margin: 10px 0 0 0; 
        line-height: 15px; 
        padding: 0 0 10px; 
    } 
     
    .comments-template h2, .comments-template h3{ 
        font-size: 1.2em; 
     
    } 
     
    .commentmetadata{ 
        font-size: 0.9em; 
    } 
     
    .comments-template p.nocomments{ 
        padding: 0; 
    } 
     
    .comments-template textarea{ 
        font-family: Trebuchet MS, Arial, Hevletica, Sans-serif; 
        font-size: 0.9em; 
     
    } 
     
    .cadre_commentaires { 
            border-bottom: 1px solid #ccc; 
            border-top: 1px solid #ccc; 
     
    } 
     
    a { 
            color: #555; 
            text-decoration: none; 
    } 
     
    a:hover { 
            color: #777; 
            text-decoration: underline; 
    } 
     
    #content h2 a{ 
           font-size: 1.2em; 
           font-family: Century Gothic, Lucida Grande, Verdana, Arial, Sans-Serif; 
           color: #006699; 
    } 
     
    #content h2 a:hover{ 
           color: #555; 
    } 
     
     
     
     
     
    #footer { 
            font-size: 1em; 
            background:#12748F;       
            clear: both; 
            width: 900px; 
            height: 110px; 
            background-image:url(/blog/wp-content/themes/frogztheme/composants/headermorceau.gif) ; 
            background-color: transparent; 
     
     
    }


    Ensuite le HTML


    Code html : 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
    <div class="sidebar"> 
     
    <div class="logohautsidebar" 
    </div> 
     
    <div class="positiontextesidebar"> 
    <ul> 
     
    <p><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> 
     
     
     
    <!-- calendrier --> 
    <li id="calendar"><h2>Calendrier</h2> 
     
        <?php get_calendar(); ?> 
     
    </li> 
     
    <!-- categories --> 
    <li><h2>Categories</h2> 
     
            <ul> 
            <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> 
     
            </ul> 
     
        </li> 
     
    <!-- archives --> 
    <li><h2>Archives</h2> 
     
            <ul> 
            <?php wp_get_archives('type=monthly'); ?> 
     
            </ul> 
        </li> 
     
    </li> 
     
    <!-- abonnement flux rss --> 
    <li><h2>Abonnez-vous au blog !</h2> 
     
    <ul> 
     
    <li><a href="<?php bloginfo('rss2_url'); ?>" title="Flux RSS des articles">Flux RSS des articles</a></li> 
    <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="Flux RSS des commentaires">Flux RSS des commentaires</a></li> 
     
    <?php endif; ?></p> 
     
    </ul> 
     
     
     
    </div> 
    </div>
    Images attachées Images attachées  

  2. #2
    Membre averti
    Profil pro
    Inscrit en
    Novembre 2010
    Messages
    207
    Détails du profil
    Informations personnelles :
    Localisation : France, Indre et Loire (Centre)

    Informations forums :
    Inscription : Novembre 2010
    Messages : 207
    Points : 344
    Points
    344
    Par défaut
    Déjà il y a des erreurs dans le HTML avec des balises non fermées, je te donne sans le PHP le bon HTML, de plus au lieu de nous donner le PHP pourrais tu nous donner le HTML générer par ta page si le bug est toujours présent.

    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
    <div class="sidebar">
    	<div class="logohautsidebar"></div>
    	<div class="positiontextesidebar">
    		<ul>
    			<p>
    				<!-- calendrier --> 
    				<li id="calendar">
    					<h2>Calendrier</h2> 
    				</li>
    				<!-- categories --> 
    				<li>
    					<h2>Categories</h2>
    					<ul>
    					</ul>
    				</li>
    				<!-- archives --> 
    				<li>
    					<h2>Archives</h2>
    					<ul>
    					</ul>
    				</li>
    				<!-- abonnement flux rss --> 
    				<li>
    					<h2>Abonnez-vous au blog !</h2>
    				<ul>
    					<li><a href="#" title="Flux RSS des articles">Flux RSS des articles</a></li>
    					<li><a href="#" title="Flux RSS des commentaires">Flux RSS des commentaires</a></li>
    				</ul>
    			</p>
    		</ul>
    	</div>
    </div>

Discussions similaires

  1. Différences affichage Internet Explorer et Firefox
    Par afroweb dans le forum Mise en page CSS
    Réponses: 7
    Dernier message: 11/09/2009, 22h40
  2. Problème Affichage Internet Explorer 6 (WIN2000) et 7 (WINXP)
    Par mkrdgmkr dans le forum Balisage (X)HTML et validation W3C
    Réponses: 4
    Dernier message: 17/05/2007, 14h26
  3. [XHTML] Problème affichage différent sur Internet Explorer et FireFox
    Par espaladito dans le forum Balisage (X)HTML et validation W3C
    Réponses: 4
    Dernier message: 22/09/2006, 18h05
  4. Problème d'affichage internet explorer
    Par LuckyDj dans le forum Balisage (X)HTML et validation W3C
    Réponses: 16
    Dernier message: 20/06/2006, 15h27
  5. Problème d'affichage internet explorer
    Par LuckyDj dans le forum Langage
    Réponses: 5
    Dernier message: 19/06/2006, 13h23

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