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 :

Les images dans mon menu ne s'affichent pas


Sujet :

CSS

  1. #1
    Nouveau Candidat au Club
    Inscrit en
    Mai 2010
    Messages
    1
    Détails du profil
    Informations forums :
    Inscription : Mai 2010
    Messages : 1
    Points : 1
    Points
    1
    Par défaut Les images dans mon menu ne s'affichent pas
    bonjour tout le monde,
    s'il vous plait j'ai un problème sur ma création de site, j'ai créée un menu avec des images
    le code est juste mais lorsque je vérifie au navigateur les images ne s'affichent pas
    voila le code que j'utilise
    code 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
    57
    58
    59
    60
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
     
    <head>
    <title>Agence</title> 
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <link href="favicon.ico" rel="icon" type="image/x-icon" />
    <link href="css/style.css" rel="stylesheet" type="text/css" /> 
     
    </head>
     
    <body>
    <div id="all">
    <div id="header">
        <div id="header1"></div>
        <div id="anim-flash">
     
        </div>
     
        <div id="header2">
          <ul id="contact"><li><a href="Contact.html" title="Contact"></a></li></ul>
        </div>
     
     
    	<div id="menu">
    			<ul id="main-menu">
     
                     <li id="AgenceOver"><a href="Acceuil.html">Agence</a></li>
                     <li id="Vol"><a href="Vol.html" title="Vol">Vol</a></li>
                     <li id="Sejour"><a href="Sejour.html" title="Sejour">Sejour</a></li>
                     <li id="Voyage"><a href="Voyage.html" title="Voyage">Voyage</a></li>
                     <li id="Hadj-Omra"><a href="Hadj-Omra.html" title="Hadj-Omra">Hadj-Omra</a></li>
     
                </ul>
    	</div>
     
    </div>
     
     
    <div id="bodypage">
            <div class="fontgauche"></div>
            <div class="milieu">
     
                    <div id="TheTexte">
     
                    </div>
    				<div id="footer"></div>
    		</div>  
     
            <div class="fontdroit"></div>		
    </div>
     
     
    </div>
     
     
     
    </body>
     
    </html>

    code css
    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
    @charset "utf-8";
    /* CSS Document */
     
    body {
        margin:auto;
    	padding-top: 0px; 
    	margin-left:0px;
    	margin-top:0px;
    	margin-right:0px;
    	margin-bottom:0px;
    	background-color:#FFF;
    	background-position:top center;
    	background-repeat:repeat-x;
    	color:black;
    	font-family:Arial, Helvetica, sans-serif;
    	font-size:12px;
    	text-align:center;
    }
     
    form {
    	margin:0px;
    	padding:0px;
    }
     
    img {
    	border:0px;
    }
     
    h1 {
    	padding:0px;
    	margin:0px;
    }
     
    h2 {
    	padding:0px;
    	margin:0px;
    }
     
    h3 {
    	padding:0px;
    	margin:0px;
    }
    span{ 
    	margin-left:20px;
    	margin-right:10px;
    	padding: 2px 2px 2px 8px;
    }
     
    #header {
    background-image:url(../images/paris.jpg);
    	margin:auto;
    	margin-left:none;
    	margin-right:none;
    	width:1200px;
    	height:750px;
    	text-align:center;
    	float:center;
    }
    #header1 {
    width:1200px;
    height:14px;
    background-image:url(../images/header.jpg);
    }
    #anim-flash {
     
    }
    #main-menu {
    border: 1px solid #600 ;
    float:left;
    list-style-type:none;
    height:70px;
    width:760px;
    margin-right:199px;
    margin-left:199px;
    margin-top:630px;
    }
    #main-menu li {
    float:left;
     
    }
    #main-menu li a{
    display:block;
    overflow:hidden;
    height:70px;
     
    }
    #Agence a {
    	width:152px;
    	background-image:url(../images/agence.jpg) repeat-x ;
    	overflow:hidden;		
    }
    #Vol a {
    	width:152px;
    	background:url(images/vol.jpg) repeat-x;
    	overflow:hidden;		
    }
    #Sejour a {
    	width:152px;
    	background:url(images/sejour.jpg) repeat-x;
    	overflow:hidden;		
    }
    #Voyage a {
    	width:152px;
    	background:url(images/voyage.jpg) repeat-x;
    	overflow:hidden;		
    }
    #Hadj-Omra a {
    	width:152px;
    	background:url(images/hadjOmra.jpg) repeat-x;
    	overflow:hidden;		
    }
    #contact a {
    	width:152px;
    	background:url(images/contactez nous.jpg) repeat-x;
    	overflow:hidden;		
    }
    #AgenceOver {
    	overflow:hidden;
    	height:70px;
    	width:152px;
    	background: url(images/agence.jpg) repeat-x;
    	background-position: 0 -58px;
    	text-indent:-99999px;		
    }
    #VolOver {
    	overflow:hidden;
    	height:70px;
    	width:152px;
    	background: url(images/vol.jpg) repeat-x;
    	background-position: 0 -58px;
    	text-indent:-99999px;		
    }
    #SejourOver {
    	overflow:hidden;
    	height:70px;
    	width:152px;
    	background: url(images/sejour.jpg) repeat-x;
    	background-position: 0 -58px;
    	text-indent:-99999px;		
    }
    #VoyageOver {
    	overflow:hidden;
    	height:70px;
    	width:152px;
    	background: url(images/voyage.jpg) repeat-x;
    	background-position: 0 -58px;
    	text-indent:-99999px;		
    }
    #Hadj-OmraOver {
    	overflow:hidden;
    	height:70px;
    	width:152px;
    	background: url(images/hadjOmra.jpg) repeat-x;
    	background-position: 0 -58px;
    	text-indent:-99999px;		
    }
    #contactOver {
    	overflow:hidden;
    	height:70px;
    	width:152px;
    	background:url(images/contactez nous.jpg) repeat-x;
    	background-position: 0 -58px;
    	text-indent:-99999px;		
    }
     
    #Agence a:hover,
    #Vol a:hover,
    #Sejour a:hover,
    #Voyage a:hover,
    #Hadj-Omra a:hover,
    #contact a:hover { 
    background-position: 0 -58px;
    }
     
    #bodypage{
    margin-top:16px;
    margin-left:none;
    margin-right:none;
    width:1200px;
    height:683px;
    background-color:#54A1DC;
    text-align:center;	
    }
    .fontgauche {
    margin-top:-17px;
    background-image: url('../images/bgauche.png');
    background-repeat: no-repeat;
    width: 199px;
    height: 700px;
    float: left;
    }
    .milieu{
    margin-top:-17px;
    float:left;
    width: 802px;
    height: 677px;
    }
    #TheTexte
    {
    width:802px;
    height:630px;
    background-repeat: no-repeat;
    background-color:#Fff;
    }
    #footer{
     
    float:left;	
    width:802px;
    height:70px;
    background-image:url(../images/footer.png);
    background-repeat: no-repeat;
    }
    .fontdroit {
    margin-top:-17px;
    margin-right:0px;
    background-image: url('../images/bdroite.png');
    background-repeat: no-repeat;
    width: 199px;
    height: 700px;
    float: right;
    }
    .benefit {
    	float:right; 
    	margin-right:40px;
    	background: #ededed repeat-x;
    	padding: 2px 2px 2px 8px;
    	border: 1px solid #BA8F18;
    	border-radius: 80px; -moz-border-radius: 80px; -webkit-border-radius: 80px;
    	font: italic 15px Arial; color: black;
    	outline: none;	
    }
    .fortifie{
    	margin-right:-20px;
    	background: #ededed repeat-x;
    	padding: 2px 2px 2px 8px;
    	border: 1px solid #BA8F18;
    	border-radius: 80px; -moz-border-radius: 80px; -webkit-border-radius: 80px;
    	font: italic 15px Arial; color: black;
    	outline: none;	
    }

  2. #2
    Modérateur
    Avatar de Bisûnûrs
    Profil pro
    Développeur Web
    Inscrit en
    Janvier 2004
    Messages
    9 868
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Janvier 2004
    Messages : 9 868
    Points : 16 258
    Points
    16 258
    Par défaut
    Citation Envoyé par naghame Voir le message
    le code et juste mais lorsque je verifier au navigateur les image s`affiche pas
    Donc le code est faux.
    On ne connait pas ton arborescence de fichiers, donc on ne peut pas vraiment t'aider sur ce coup-là. Le mieux serait que tu nous dises comment est ton arborescence et que tu nous donnes une page en ligne qu'on puisse tester ton problème.

Discussions similaires

  1. Mon menu ne s'affiche pas avec IE verson inférieure à 11
    Par beegees dans le forum Mise en page CSS
    Réponses: 4
    Dernier message: 06/12/2013, 16h03
  2. Réponses: 6
    Dernier message: 30/12/2011, 09h35
  3. Les images de mon menu se décalent sur Internet Explorer
    Par maxym dans le forum Mise en page CSS
    Réponses: 1
    Dernier message: 03/04/2010, 15h11
  4. [CENTOS] les accents de mon texte ne s'affichent pas
    Par PrincessKC dans le forum RedHat / CentOS / Fedora
    Réponses: 0
    Dernier message: 20/04/2009, 18h55
  5. La 1ère ligne dans mon tableau ne s'affiche pas correctement
    Par bilou95 dans le forum Balisage (X)HTML et validation W3C
    Réponses: 2
    Dernier message: 19/03/2007, 16h33

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