Propriété CSS
Résolu/Fermé
MrYo
MrYo
- Messages postés
- 48
- Date d'inscription
- samedi 2 avril 2011
- Statut
- Membre
- Dernière intervention
- 2 septembre 2011
MrYo
- Messages postés
- 48
- Date d'inscription
- samedi 2 avril 2011
- Statut
- Membre
- Dernière intervention
- 2 septembre 2011
7 réponses
Stéphane18
Modifié par Stéphane18 le 17/04/2011 à 23:34
- Messages postés
- 372
- Date d'inscription
- jeudi 3 mars 2011
- Statut
- Membre
- Dernière intervention
- 20 février 2019
Modifié par Stéphane18 le 17/04/2011 à 23:34
Salut, as tu essayé en donnant une class à la balise a par exemple:
<a class="actif_off" href="ton-lien"> <img src="images/ton-image.jpg" alt="img" /> </a> .actif_off a:active { background-color: transparent; }
Tarble
9 avril 2011 à 15:19
- Messages postés
- 591
- Date d'inscription
- mercredi 29 septembre 2010
- Statut
- Membre
- Dernière intervention
- 27 avril 2016
9 avril 2011 à 15:19
pourrait tu montrer ton css pour que je puisse t'aider.
MrYo
9 avril 2011 à 18:32
- Messages postés
- 48
- Date d'inscription
- samedi 2 avril 2011
- Statut
- Membre
- Dernière intervention
- 2 septembre 2011
9 avril 2011 à 18:32
oui bien sur
MrYo
9 avril 2011 à 18:32
- Messages postés
- 48
- Date d'inscription
- samedi 2 avril 2011
- Statut
- Membre
- Dernière intervention
- 2 septembre 2011
9 avril 2011 à 18:32
body
{
padding-left:10%;
padding-right:10%;
background-color: rgb(21, 87, 157);
}
.description
{
text-align: center;
position: absolute;
left: 35%;
right: 5 px;
max-width: 35%;
color: rgb(150, 196, 62);
background-color: rgb(0, 74, 128);
border-radius: 15px;
padding-top: 20px;
}
.soustitre
{
color: black;
}
.menu
{
position: absolute;
left: 1%;
top: 30%;
width: 20%;
}
a
{
text-decoration: none;
color: rgb(150, 196, 62);
}
a:hover
{
text-decoration: underline;
}
a:active
{
background-color: rgb(150, 196, 62);
color:black;
}
.liste
{
list-style-image: url("images/bugdroid.png");
background-color: rgb(0, 74, 128);
/*border-style:inset;*/
border-color: rgb(150, 196, 62);
border-radius: 15px;
font-weight: bolder;
}
.image
{
border-radius: 10px;
}
.imgheader
{
text-align: center;
}
.source
{
font-size: x-small;
}
{
padding-left:10%;
padding-right:10%;
background-color: rgb(21, 87, 157);
}
.description
{
text-align: center;
position: absolute;
left: 35%;
right: 5 px;
max-width: 35%;
color: rgb(150, 196, 62);
background-color: rgb(0, 74, 128);
border-radius: 15px;
padding-top: 20px;
}
.soustitre
{
color: black;
}
.menu
{
position: absolute;
left: 1%;
top: 30%;
width: 20%;
}
a
{
text-decoration: none;
color: rgb(150, 196, 62);
}
a:hover
{
text-decoration: underline;
}
a:active
{
background-color: rgb(150, 196, 62);
color:black;
}
.liste
{
list-style-image: url("images/bugdroid.png");
background-color: rgb(0, 74, 128);
/*border-style:inset;*/
border-color: rgb(150, 196, 62);
border-radius: 15px;
font-weight: bolder;
}
.image
{
border-radius: 10px;
}
.imgheader
{
text-align: center;
}
.source
{
font-size: x-small;
}
Tarble
9 avril 2011 à 18:37
- Messages postés
- 591
- Date d'inscription
- mercredi 29 septembre 2010
- Statut
- Membre
- Dernière intervention
- 27 avril 2016
9 avril 2011 à 18:37
a:active
{
background-color: rgb(150, 196, 62);
color:black;
}
suprime ça
{
background-color: rgb(150, 196, 62);
color:black;
}
suprime ça
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
MrYo
9 avril 2011 à 19:09
- Messages postés
- 48
- Date d'inscription
- samedi 2 avril 2011
- Statut
- Membre
- Dernière intervention
- 2 septembre 2011
9 avril 2011 à 19:09
Oui mais si je veux que les liens restent comme ça, je veux juste pouvoir enlever cette propriété à une image
Tarble
9 avril 2011 à 19:29
- Messages postés
- 591
- Date d'inscription
- mercredi 29 septembre 2010
- Statut
- Membre
- Dernière intervention
- 27 avril 2016
9 avril 2011 à 19:29
eh bien
img
{
background:none;
}
img
{
background:none;
}
MrYo
9 avril 2011 à 19:41
- Messages postés
- 48
- Date d'inscription
- samedi 2 avril 2011
- Statut
- Membre
- Dernière intervention
- 2 septembre 2011
9 avril 2011 à 19:41
Non désolé ça ne marche pas mais je vais faire avec, merci quand même pour ton aide.
Tarble
9 avril 2011 à 20:49
- Messages postés
- 591
- Date d'inscription
- mercredi 29 septembre 2010
- Statut
- Membre
- Dernière intervention
- 27 avril 2016
9 avril 2011 à 20:49
a img
{
background:transparent;
}
{
background:transparent;
}
9 avril 2011 à 21:10