Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1443 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  background

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

background

n°1181838
kirua_sama
Learn sciences with senses
Posté le 22-08-2005 à 23:49:37  profilanswer
 

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 ^^. :ange:  
 

Citation :

#menus a
   {
    width: 190px;
    color: #FFFFFF;
    background-image:url(hover.PNG);
    font-size:18px;
    text-decoration:none;
    list-style-type:none;
   }

mood
Publicité
Posté le 22-08-2005 à 23:49:37  profilanswer
 

n°1181865
masklinn
í dag viðrar vel til loftárása
Posté le 23-08-2005 à 00:04:38  profilanswer
 

j'ai rien compris à la question [:klem3i1]


---------------
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?
n°1181878
kirua_sama
Learn sciences with senses
Posté le 23-08-2005 à 00:10:23  profilanswer
 

le background s'adapte au texte alors que je voudrais qu'il garde une taille fixe de 190 px, comment puije-faire ??

n°1181892
masklinn
í dag viðrar vel til loftárása
Posté le 23-08-2005 à 00:21:17  profilanswer
 

kirua_sama a écrit :

le background s'adapte au texte alors que je voudrais qu'il garde une taille fixe de 190 px, comment puije-faire ??


 [:gratgrat]  
 
tu fais une image de 190px en no-repeat [:spamafote]


---------------
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?
n°1182115
kirua_sama
Learn sciences with senses
Posté le 23-08-2005 à 11:30:32  profilanswer
 

c'est ce que j'ai fait mais comme je t'ai dit plus haut mon image s'adapte a la taiille du texte :(

n°1182117
masklinn
í dag viðrar vel til loftárása
Posté le 23-08-2005 à 11:32:28  profilanswer
 

heuuu non, une image en background ne se resize pas [:klem3i1]


---------------
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?
n°1182120
kirua_sama
Learn sciences with senses
Posté le 23-08-2005 à 11:34:46  profilanswer
 

http://greeedisland.Free.Fr ^^.
JE mens pas quand meme :)

n°1182131
j_lecruel
☀ ☁ ☂
Posté le 23-08-2005 à 11:42:01  profilanswer
 

Salut,
 
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.

n°1182151
kirua_sama
Learn sciences with senses
Posté le 23-08-2005 à 11:54:03  profilanswer
 

merci ca marche impec ^^


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  background

 

Sujets relatifs
Texte explicatif pour image de background.Passer des images en background
backgroundTableau et background
backgroundExucter en background
background ie [crazy]background de bloc !!
background-image d'un lien[CSS] bug background-image
Plus de sujets relatifs à : background


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)