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 :

Déformation Internet exporer


Sujet :

CSS

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    7
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 7
    Par défaut Déformation Internet exporer
    Voilà je suis entrain de créer mon site web et je rencontre un petit soucis tout est déformé dans IE alors que sous firefox rien du tout ça fonctionne nickel.
    Cela est surement dû à une erreur dans mon code que je ne trouve pas.
    Le site --> Jopa-prod
    Je vous joint mes deux codes :

    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
    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
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="robots" content="index, follow" />
     
     <!-- Infos sur le site -->
    <meta name="keywords" content="informatique, tutos, astuces, graphisme, jopa-prod, jonathan, blog" />
      <meta name="description" content="Graphisme et informatique" />
      <meta name="generator" content="Jopa-prod" />
    <meta name="Author" lang="fr" content="Jopa-prod" />
     
    <link rel="stylesheet" media="screen" type="text/css" title="Jopa-prod" href="css/style.css" />
    <title>Jopa-prod</title>
    <LINK REL="SHORTCUT ICON" href="images/favicon.ico">
    </head>
    <body>
     
    <div class="center">
    <div class="entete"></div>
     
    <br><div class="corps">
    	<div class="menu_haut">
    		<!-- Preload des images au passage de la souris, là aussi uniquement en CSS -->
    		<img src="images/accueil_rollover.png" alt="" style="display:none;" />
    		<img src="images/informations_rollover.png" alt="" style="display:none;" />
    		<img src="images/news_rollover.png" alt="" style="display:none;" />
            <img src="images/galerie_rollover.png" alt="" style="display:none;" />
    		<img src="images/informatique_rollover.png" alt="" style="display:none;" />
    		<img src="images/projets_rollover.png" alt="" style="display:none;" />
    		<img src="images/contact_rollover.png" alt="" style="display:none;" />
     
    		<!-- On affiche les images cliquable -->
    		<a class="rollover_accueil" href=""><span>Accueil</span></a>
    		<a class="rollover_informations" href=""><span>Informations</span></a>
    		<a class="rollover_news" href=""><span>News</span></a>
    		<a class="rollover_galerie" href=""><span>Galerie</span></a>
    	    <a class="rollover_informatique" href=""><span>Informatique</span></a>
    	    <a class="rollover_projets" href=""><span>Projets</span></a>
    	    <a class="rollover_contact" href=""><span>Contact</span></a>
    	</div>
     
    		<div class="corps_texte">
    	<br><br><br><p><h4><font color="#83BA20"><b>En construction</b></h4></p></br></br></font>
    	<p>Comme vous pouvez le remarquer le site est encore en construction,</p>
    	<p>chaque jour une mise à jour est effectuée.</p>
    	<p>Le site va migrer très prochainement sur un autre serveur.</p>
    	<p>Sur ce, merci de votre compréhension =)</p>
    	</div>
     
    	<div class="menu_gauche">
    		<div class="identifiant">
    		<div class="menu_gauche_texte">
    			<ul>
    				<li style="line-height:121px;"><a href="">Boulazac</a></li>
     
    				<div class="lien2"><li style=""><a href="">Boulazac</a></li></div>
    				<li style="line-height:30px;"><a href="">Boulazac</a></li>
    				<li style="line-height:11px;"><a href="">Boulazac</a></li>
    				<li style="line-height:31px;"><a href="">Boulazac</a></li>
    			</ul>
     
    	<div class="menu_gauche2">
    		<div class="identifiant">
    		<div class="menu_gauche2_texte">
    			<ul>
    				<li style="line-height:121px;"><a href="">Boulazac</a></li>
     
    				<div class="lien2"><li style=""><a href="">Boulazac</a></li></div>
    				<li style="line-height:30px;"><a href="">Boulazac</a></li>
    				<li style="line-height:11px;"><a href="">Boulazac</a></li>
    				<li style="line-height:31px;"><a href="">Boulazac</a></li>
    			</ul>
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><div class="pied">
    	<p>Copyright 2009-2010 Jopa-prod -  Version 2.0 |Mise à jour le 7 Août 2009| By jopa
    	</p>
    </div>
    	</div>
    	</div>
    	</div>
    </div>
    	</div>
    	</div>
    	</div>
    	</div>
    	</body>
    </html>

    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
    body
    {
     
    	height:800px;
    	margin:auto; /* Pour centrer notre page */
    	margin-top:10px; /* Pour éviter de coller avec le haut de la fenêtre du navigateur. Essayez d'enlever pour voir ! */
    	margin-bottom:20px; /* Idem pour le bas du navigateur */
    	padding:0px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size:12px;
    	background-color:#BCBFBF;
    	background-position:center;
    	background-repeat:no-repeat;
    	}
     
    .entete
    {
    background-image:url('../images/entete.png');
    height:130px;
    width:800px;
    float:left;
    background-position:center;
    background-repeat:no-repeat;
    }
    .center
    {
    width:800px;
    margin:0 auto;
    }
     
    .corps {
    background-color:#FFFFFF;
    height:950px;
    margin:0 auto;
    width:800px;
    }
     
    /* BOUTON ACCUEIL */
    a.rollover_accueil
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/accueil.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_accueil:hover
    {
    	background-image:url('../images/accueil_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_accueil span
    {
    	display:none;
    }
     
    /* BOUTON INFORMATIONS */
    a.rollover_informations
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/informations.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_informations:hover
    {
    	background-image:url('../images/informations_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_informations span
    {
    	display:none;
    }
     
    /* BOUTON NEWS */
    a.rollover_news
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/news.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_news:hover
    {
    	background-image:url('../images/news_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_news span
    {
    	display:none;
    }
     
    /* BOUTON GALERIE */
    a.rollover_galerie
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/galerie.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_galerie:hover
    {
    	background-image:url('../images/galerie_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_galerie span
    {
    	display:none;
    }
     
    /* BOUTON INFORMATIQUE */
    a.rollover_informatique
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/informatique.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_informatique:hover
    {
    	background-image:url('../images/informatique_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_informatique span
    {
    	display:none;
    }
     
    /* BOUTON PROJETS */
    a.rollover_projets
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/projets.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_projets:hover
    {
    	background-image:url('../images/projets_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_projets span
    {
    	display:none;
    }
     
    /* BOUTON CONTACT */
    a.rollover_contact
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/contact.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_contact:hover
    {
    	background-image:url('../images/contact_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_contact span
    {
    	display:none;
    }
     
     
    /*-------------------------------Nouveautes---------------------------------*/
    .menu_gauche
    {
    	width:180px;
    	height:190px;
    	margin-top:30px;
    	float:left;
    	background-image:url('../images/menu_verticale.png');
    	background-repeat:no-repeat;
    }
    .menu_gauche_texte
    {
    	font-size:12px;
    	color:#124A00;
    }
    .identifiant{
      line-height:15px;
    }
    .lien2{
    position:relative;
    margin-left:0px;
    margin-top:-46px;
    } 
     
    /*---------------------------------------------------------------------------*/
    /*-------------------------------Prochainement---------------------------------*/
    .menu_gauche2
    {
    	width:180px;
    	height:190px;
    	margin-top:30px;
    	float:left;
    	background-image:url('../images/menu_verticale2.png');
    	background-repeat:no-repeat;
    }
    .menu_gauche2_texte
    {
    	font-size:12px;
    	color:#124A00;
    }
    .identifiant{
      line-height:15px;
    }
    .lien3{
    position:relative;
    margin-left:0px;
    margin-top:-46px;
    } 
     
    .corps_texte {
    color:#000000;
    float:right;
    font-size:12px;
    }
    /*---------------------------------------------------------------------------*/
     
    /**********************************Footer*************************************/
    .pied
    {
    	width:810px;
    	height:25px;
    	margin-left:-4px;
    	background-image:url('../images/pied.png');
    	background-repeat:no-repeat;
    	text-align:center;
    	font-size:9px;
    	color:#FFFFFF;
    }
    /*---*********************************************************************---*/

    Au passage comment positionner correctement le texte par rapport au menu verticale ?
    Merci pour votre aide
    jopa

  2. #2
    Membre confirmé
    Avatar de cahnory
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    203
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France

    Informations forums :
    Inscription : Mai 2007
    Messages : 203
    Par défaut
    Faudrait cibler un peu plus (enfin moi je préfère ^^). Prend un bug, isole nous le code html et css de la partie concernée et pour le reste on a la source de ta page. Car là en fin de journée je suis largué

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    7
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 7
    Par défaut
    Bonsoir cahnory,
    bein justement je ne sais pas ou se situe l'erreur bon les bugs pour les voir directement je vous ai fait un petit screen :
    --> Localisation des problèmes <--

    En ce qui concerne le header ça doit être a ce niveau ci :
    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
    .entete
    {
    background-image:url('../images/entete.png');
    height:130px;
    width:800px;
    float:left;
    background-position:center;
    background-repeat:no-repeat;
    }
    .center
    {
    width:800px;
    margin:0 auto;
    }
     
    .corps {
    background-color:#FFFFFF;
    height:950px;
    margin:0 auto;
    width:800px;
    }

  4. #4
    Membre Expert Avatar de Erwan31
    Profil pro
    Inscrit en
    Février 2008
    Messages
    2 177
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2008
    Messages : 2 177
    Par défaut
    Bonjour,
    beaucoup de choses à revoir.
    Pour commencer toutes les image porteuses d'information devraient se placer dans le HTML (et non inséré en background via la CSS). CSS n'est qu'une couche de présentation supplémentaire au contenu.
    Donc là tu perds l'info si les images ou CSS sont désactivées en plus d'être non indexable par les moteurs de recherche.

    Le div entete devrait donc être remplacé par
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <img src="Jopa-prod_files/entete00.png" alt="Jopa-prod - Graphisme et informatique" width="800" height="110" />
    Ce qui au passage résoudra ton problème.

    Évite d'utiliser les br pour créer des espaces, ils son sont pas fait pour ça mais pour forcer une coupure de ligne dans un texte.

    Pour ton menu de gauche un UL ne peut avoir comme enfant direct que des li (et non des div) et comme le mécanisme de gestion des erreurs est différent d'un navigateur à l'autre, tu te retrouves avec des différences imprévisibles.

  5. #5
    Membre du Club
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    7
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 7
    Par défaut
    Tout d'abord bonjour et merci pour ta réponse Erwan31,
    je met cela en œuvre dés demain et je vous donne suite merci

  6. #6
    Membre du Club
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    7
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 7
    Par défaut
    Bonjour,
    j'ai donc appliqué ce que vous m'avez dit de faire, légères améliorations on doit être sur la bonne voie je pense mais il figure toujours quelques décalages
    Je suis resté pas mal de temps dessus et j'ai fait un bon nettoyage.
    J'ai ré-hébergé sur mon ftp vous pouvez donc voir les modifs a la meme adresse --> http://jopa86.free.fr/

    Au besoin je remet les codes :

    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
    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
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="robots" content="index, follow" />
     
     <!-- Infos sur le site -->
    <meta name="keywords" content="informatique, tutos, astuces, graphisme, jopa-prod, jonathan, blog" />
      <meta name="description" content="Graphisme et informatique" />
      <meta name="generator" content="Jopa-prod" />
    <meta name="Author" lang="fr" content="Jopa-prod" />
     
    <link rel="stylesheet" media="screen" type="text/css" title="Jopa-prod" href="css/style.css" />
    <title>Jopa-prod</title>
    <LINK REL="SHORTCUT ICON" href="images/favicon.ico">
    </head>
    <body>
     
    <div class="center">
    <div class="entete">
    <img src="images/entete.png" alt="Jopa-prod - Graphisme et informatique" width="800" height="110"/>
    </div>
     
    <br><div class="corps">
    	<div class="menu_haut">
    		<!-- Preload des images au passage de la souris, là aussi uniquement en CSS -->
    		<img src="images/accueil_rollover.png" alt="" style="display:none;" />
    		<img src="images/informations_rollover.png" alt="" style="display:none;" />
    		<img src="images/news_rollover.png" alt="" style="display:none;" />
            <img src="images/galerie_rollover.png" alt="" style="display:none;" />
    		<img src="images/informatique_rollover.png" alt="" style="display:none;" />
    		<img src="images/projets_rollover.png" alt="" style="display:none;" />
    		<img src="images/contact_rollover.png" alt="" style="display:none;" />
     
    		<!-- On affiche les images cliquable -->
    		<a class="rollover_accueil" href=""><span>Accueil</span></a>
    		<a class="rollover_informations" href=""><span>Informations</span></a>
    		<a class="rollover_news" href=""><span>News</span></a>
    		<a class="rollover_galerie" href=""><span>Galerie</span></a>
    	    <a class="rollover_informatique" href=""><span>Informatique</span></a>
    	    <a class="rollover_projets" href=""><span>Projets</span></a>
    	    <a class="rollover_contact" href=""><span>Contact</span></a>
    	</div>
     
    		<div class="corps_texte">
    	<br><br><br><br><p><h3><font color="#83BA20"><b>En construction</b></h3></p></br></br></font>
    	<font color="#AEAEAE"><h5><p>Par Jopa, samedi 8 août 2009 :: Construction  ::</p></h5></font>
    	<p>Comme vous pouvez le remarquer le site est encore en construction,</p>
    	<p>chaque jour une mise à jour est effectuée.</p>
    	<p>Le site va migrer très prochainement sur un autre serveur.</p>
    	<p>Sur ce, merci de votre compréhension =)</p>
    	</div>
     
    	<div class="menu_gauche">
    		<img src="images/menu_verticale.png" alt="Nouveautes" width="180" height="190"/>
    		<div class="identifiant">
    		<div class="menu_gauche_texte">
    			<ul>
    				<div class="releve1"><li style="line-height:5px;"><a href="">Boulazac</a></li></div>
    				<li style="line-height:33px;"><a href="">Boulazac</a></li>
    				<li style="line-height:9px;"><a href="">Boulazac</a></li>
    				<li style="line-height:32px;"><a href="">Boulazac</a></li>
    				<li style="line-height:12px;"><a href="">Boulazac</a></li>
    			</ul>
    	</div>
    	<div class="menu_gauche2">
    		<img src="images/menu_verticale2.png" alt="Prochainement" width="180" height="190"/>
    		<div class="identifiant">
    		<div class="menu_gauche2_texte">
     
    			<ul>
    				<div class="lien2"><li style=""><a href="">Boulazac</a></li></div>
    				<li style="line-height:30px;"><a href="">Boulazac</a></li>
    				<li style="line-height:11px;"><a href="">Boulazac</a></li>
    				<li style="line-height:31px;"><a href="">Boulazac</a></li>
    			    <li style="line-height:12px;"><a href="">Boulazac</a></li>
    			</ul>
    <div class="pied">
     
    	<img src="images/pied.png" alt="Les conditions" width="810" height="25"/>
    	<div class="textepied"><p>Copyright 2009-2010 Jopa-prod -  Version 2.0 |Mise à jour le 7 Août 2009| By jopa</p></div>
    </div>
    	</div>
    	</div>
    	</div>
    </div>
    	</div>
    	</div>
    	</div>
    	</div>
    	</body>
    </html>

    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
    body
    {
     
    	height:800px;
    	margin:auto; /* Pour centrer notre page */
    	margin-top:10px; /* Pour éviter de coller avec le haut de la fenêtre du navigateur. Essayez d'enlever pour voir ! */
    	margin-bottom:20px; /* Idem pour le bas du navigateur */
    	padding:0px;
    	font-family: Verdana, Geneva, sans-serif;
    	font-size:12px;
    	background-color:#BCBFBF;
    	background-position:center;
    	background-repeat:no-repeat;
    	}
     
    .entete
    {
    float:left;
    background-position:center;
    background-repeat:no-repeat;
    }
    .center
    {
    width:800px;
    margin:0 auto;
    }
     
    .corps {
    background-color:#FFFFFF;
    height:950px;
    margin:0 auto;
    width:800px;
    }
     
    /* BOUTON ACCUEIL */
    a.rollover_accueil
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/accueil.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_accueil:hover
    {
    	background-image:url('../images/accueil_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_accueil span
    {
    	display:none;
    }
     
    /* BOUTON INFORMATIONS */
    a.rollover_informations
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/informations.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_informations:hover
    {
    	background-image:url('../images/informations_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_informations span
    {
    	display:none;
    }
     
    /* BOUTON NEWS */
    a.rollover_news
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/news.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_news:hover
    {
    	background-image:url('../images/news_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_news span
    {
    	display:none;
    }
     
    /* BOUTON GALERIE */
    a.rollover_galerie
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/galerie.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_galerie:hover
    {
    	background-image:url('../images/galerie_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_galerie span
    {
    	display:none;
    }
     
    /* BOUTON INFORMATIQUE */
    a.rollover_informatique
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/informatique.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_informatique:hover
    {
    	background-image:url('../images/informatique_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_informatique span
    {
    	display:none;
    }
     
    /* BOUTON PROJETS */
    a.rollover_projets
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/projets.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_projets:hover
    {
    	background-image:url('../images/projets_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_projets span
    {
    	display:none;
    }
     
    /* BOUTON CONTACT */
    a.rollover_contact
    {
    	display:block;
    	float:left;
    	width:100px;
    	height:30px;
    	background-image:url('../images/contact.png');
    	background-repeat:no-repeat;
    	border:0;
    }
     
    a.rollover_contact:hover
    {
    	background-image:url('../images/contact_rollover.png');
    	background-repeat:no-repeat;
    }
     
    a.rollover_contact span
    {
    	display:none;
    }
     
     
    /*-------------------------------Nouveautes---------------------------------*/
    .menu_gauche
    {
        margin-top:-205px;
    	float:left;
    	background-repeat:no-repeat;
    }
    .menu_gauche_texte
    {
    	margin-top:-131px;
    	font-size:12px;
    	color:#124A00;
    }
    .identifiant{
      line-height:15px;
    }
    .lien2{
    position:relative;
    margin-left:0px;
    margin-top:-136px;
    }
    .releve1{
    position:relative;
    margin-left:0px;
    margin-top:-118px;
    }
    /*---------------------------------------------------------------------------*/
    /*-------------------------------Prochainement-------------------------------*/
    .menu_gauche2
    {
    	margin-top:50px;
    	float:left;
    	background-repeat:no-repeat;
    }
    .menu_gauche2_texte
    {
    	margin-top:-84px;
    	font-size:12px;
    	color:#124A00;
    }
    .identifiant{
      line-height:15px;
    }
    .lien3{
    position:relative;
    margin-left:0px;
    margin-top:-46px;
    } 
     
    .corps_texte {
    color:#000000;
    margin-right:145px;
    float:right;
    font-size:12px;
    }
     
    /*---------------------------------------------------------------------------*/
     
    /**********************************Footer*************************************/
    .pied
    {
        margin-left:-4px;
    	margin-top:388px;
    	background-repeat:no-repeat;
    	text-align:center;
    	font-size:9px;
    	color:#FFFFFF;
    }
    .textepied{
    margin-top:-34px;
    }
    /*---*********************************************************************---*/

Discussions similaires

  1. [CSS 2] Centrer un bloc div pour Internet Exporer
    Par vg-matrix dans le forum Mise en page CSS
    Réponses: 18
    Dernier message: 20/06/2011, 15h51
  2. Affichage sous Internet Exporer
    Par tibo894 dans le forum Langage
    Réponses: 5
    Dernier message: 12/06/2009, 20h35
  3. Réponses: 3
    Dernier message: 03/10/2007, 09h12
  4. Internet Exporer ne repond plus
    Par blandinais dans le forum IE
    Réponses: 3
    Dernier message: 03/01/2007, 10h06
  5. Réponses: 1
    Dernier message: 23/10/2006, 15h08

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