Style background <a>?

renaissance -  
 renaissance -
Bonjour,
j'essaie d'ajouter une image en arriere plan de la balise a comme suite :

a { text-decoration:none; background-image:url('img.jpg'); font:13pt modern no.25;
background-repeat:no-repeat; background-attachment:fixed;
width:150px; height:20px; border:solid 1px gray; }

elle est présente dans le concepteur (VS 2008) mais le problème c'est quand je debuge je la trouve plus vous me dire pour quoi s'il vous plait.
je vous remerci.
Configuration: Windows XP Internet Explorer 7.0
A voir également:

2 réponses

Utilisateur anonyme
 
le bon code:
a { text-decoration:none; background:url("img.jpg") no-repeat fixed;
font:13pt modern no.25;
display:block;
width:150px; height:20px; border:solid 1px gray; }
0
renaissance
 
merci ca a marché mais quand je change l'image il disparait, je comprends pas d'ou vient ce problème.
0