voila je voudrai faire une taille fixe pour les liens de mon menus, avec un background et un a:hover que je fixe a 190px. Mais le probleme c'est que le background s'adapte a la taille du texte . voici mon code j'aimerais s'il vous plaits un petit coup de pouce ^^.
---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
kirua_sama
Learn sciences with senses
Posté le 23-08-2005 à 00:10:23
le background s'adapte au texte alors que je voudrais qu'il garde une taille fixe de 190 px, comment puije-faire ??
le background s'adapte au texte alors que je voudrais qu'il garde une taille fixe de 190 px, comment puije-faire ??
tu fais une image de 190px en no-repeat
---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
kirua_sama
Learn sciences with senses
Posté le 23-08-2005 à 11:30:32
c'est ce que j'ai fait mais comme je t'ai dit plus haut mon image s'adapte a la taiille du texte
masklinn
í dag viðrar vel til loftárása
Posté le 23-08-2005 à 11:32:28
heuuu non, une image en background ne se resize pas
---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
ce n'est pas le background qui se resize, mais le lien qui par défaut est de type inline (la taille s'adapte au contenu); il te suffit de mettre un display:block; pour tes liens.