Css background repetition
Résolu
loic7605
Messages postés
728
Statut
Membre
-
loic7605 Messages postés 728 Statut Membre -
loic7605 Messages postés 728 Statut Membre -
Bonjour,
Bonjour,
je me suis lancer dans un site internet et je rencontre un léger problème.
comme sur le site ccm en haut j'ai une barre de menu avec différent menu <li><a href= etc ...
(ici sur ccm nous pouvons voir sur cette barre accueil forum astuces télécharger etc ...)
mon problème et que j'ai insérer la barrer en background en css sans problème
le seul problème et que la barre au lieu de se centrer commence a gauche et se répète sur la droite j'ai mit a la suite
mais toujours rien
aidez moi svp
merci d'avance
loic7605
ps voici tout mon code css
body{
Background:url(images/fond.jpg);
}
#menu{
BACKGROUND-IMAGE: url(images/menu.jpg);
background-repeat: none;
background-attachment: fixed;
font-size: 22px;
font-family:Comic Sans MS;
height:28px;
width:950
}
ul{
height:28px;
margin:0; padding:0;
}
li{
display:block;
height:28px;
line-height:28px;
text-align:center;
display:block;
float:left;
width:150px;
list-style:none;
border-right:url(images/sep.jpg);
}
ul li{
color:#004687;
text-decoration:none;
}
li:hover{
background:url(images/search.jpg)
}
Bonjour,
je me suis lancer dans un site internet et je rencontre un léger problème.
comme sur le site ccm en haut j'ai une barre de menu avec différent menu <li><a href= etc ...
(ici sur ccm nous pouvons voir sur cette barre accueil forum astuces télécharger etc ...)
mon problème et que j'ai insérer la barrer en background en css sans problème
#menu{ BACKGROUND-IMAGE: url(images/menu.jpg);
le seul problème et que la barre au lieu de se centrer commence a gauche et se répète sur la droite j'ai mit a la suite
background-repeat: none; background-attachment: fixed; font-size: 22px; font-family:Comic Sans MS; height:28px; width:950
mais toujours rien
aidez moi svp
merci d'avance
loic7605
ps voici tout mon code css
body{
Background:url(images/fond.jpg);
}
#menu{
BACKGROUND-IMAGE: url(images/menu.jpg);
background-repeat: none;
background-attachment: fixed;
font-size: 22px;
font-family:Comic Sans MS;
height:28px;
width:950
}
ul{
height:28px;
margin:0; padding:0;
}
li{
display:block;
height:28px;
line-height:28px;
text-align:center;
display:block;
float:left;
width:150px;
list-style:none;
border-right:url(images/sep.jpg);
}
ul li{
color:#004687;
text-decoration:none;
}
li:hover{
background:url(images/search.jpg)
}
A voir également:
- Css background repetition
- Windows 7 logon background changer - Télécharger - Thèmes & Fonds d'écran
- John's background switcher - Télécharger - Suite bureautique
- Starter background changer - Télécharger - Thèmes & Fonds d'écran
- Background task host c'est quoi - Forum Windows
- Gvr background window 3 ✓ - Forum Windows 10