simon

Site/blog
3173 messages
|
posté le 2009-01-02 à 17:36:55
voici mon problème ( module 5 )
#menu_gauche ul li a:hover{
background: #7d123f;
color:#090105;
margin: 0 0 0 0;
line-height: 25px;
padding: 3px 0 3px 0;
font: 10pt Trebuchet MS;
}
Je voudrai mettre en survol un fond image à la place de background: #7d123f;.
Faut-il que j'écrive "background:url( ..image..jpg )?
Merci :note: :note:
|
Cent fois sur le métier remets ton ouvrage...
...Car c'est en forgeant qu'on devient forgeron
|
frede33

Site/blog
302 messages
|
posté le 2009-01-02 à 18:07:35
coucou si cela peut t'aider voilà comment j'ai fait sur le mien...
#menu
{
background : #;
color : #33FFFF;
width : 150px;
float : left;
}
#menu ul
{
list-style-type : none;
}
#menu ul li
{
background : #;
background-image : url(#url de l'image);
width : 150px;
margin-top : 4px;
border-width : 4px;
border-style : dotted;
border-color : #FF33FF;
}
#menu ul li a
{
background : #;
color : #33FFFF;
width : 150px;
font-size : 12pt;
font-family : Comic sans MS;
line-height : 25px;
}
#menu ul li a:hover
{
background : #;
background-image : url(url de l'image);
color : #FF66CC;
text-decoration : none;
}
#menu h2
{
background : #;
color : #FF0066;
width : 150px;
height : 20px;
font-size : 15px;
border-width : 4px;
border-style : dotted;
border-color : #FF33FF;
text-align : center;
}
Voilà bisous..
|
|
Alni
Site/blog
405 messages
|
posté le 2009-01-02 à 18:19:46
Bonsoir
Il faut mettre
background-image : url(http://www.blog4ever.com/blogfichiers/****.jpg);
en laissant background : #;
Namasté
|
|
simon

Site/blog
3173 messages
|
posté le 2009-01-02 à 18:34:05
b1:
Merci à toutes les deux.
#menu_gauche ul li a:hover{
background: #;
background-image : url(http://www.blog4ever.com/blogfichiers/****.jpg);color:#090105;
margin: 0 0 0 0;
line-height: 25px;
padding: 3px 0 3px 0;
font: 10pt Trebuchet MS;
}
Reste à trouver une image que je ferais prochainement.
Je n'étais pas sûr qu'il fallait rajouter la ligne background image:
2 Pour vous !
Dernière modification le 02-01-2009 à 18:35:42
|
Cent fois sur le métier remets ton ouvrage...
...Car c'est en forgeant qu'on devient forgeron
|
Cent fois sur le métier remets ton ouvrage...
...Car c'est en forgeant qu'on devient forgeron
|