Plusieurs code CSS ne fonctionne pas
Jack Flash
Messages postés
2
Statut
Membre
-
Jack Flash Messages postés 2 Statut Membre -
Jack Flash Messages postés 2 Statut Membre -
Bonjour,
Je suis en pleine apprentissage de css avec notepad ++ et 2 code ne fonctionne pas:
background-images: url( 'images/bkf.jpg' );
text-decoration: none;
et voici le tout
body
{
font-family: Arial;
font-size: 14px
background-images: url( 'images/bkf.jpg' );
}
#conteneur
{
width: 980px;
background-color: #ffffff;
margin: auto;
padding: 10px;
}
#header
{
margin: auto;
width: 900px;
height: 200px;
}
#menus
{
width: 200px;
background-color: red;
float: left;
margin-bottom: 10px;
margin-top: 10px;
}
#menus a
{
Color: Black
text-decoration: none;
}
#menus a:hover
{
color: white;
background-color: black;
}
#menus h2
{
text-align: center;
}
#corps
{
width: 750px;
margin-top: 10px;
margin-left: 210px;
background-color: grey;
padding: 10px;
Color: White;
}
#footer
{
clear: left;
margin-top: 10px;
background-color: #ebebeb;
padding: 10px;
text-align: center;
}
Je suis en pleine apprentissage de css avec notepad ++ et 2 code ne fonctionne pas:
background-images: url( 'images/bkf.jpg' );
text-decoration: none;
et voici le tout
body
{
font-family: Arial;
font-size: 14px
background-images: url( 'images/bkf.jpg' );
}
#conteneur
{
width: 980px;
background-color: #ffffff;
margin: auto;
padding: 10px;
}
#header
{
margin: auto;
width: 900px;
height: 200px;
}
#menus
{
width: 200px;
background-color: red;
float: left;
margin-bottom: 10px;
margin-top: 10px;
}
#menus a
{
Color: Black
text-decoration: none;
}
#menus a:hover
{
color: white;
background-color: black;
}
#menus h2
{
text-align: center;
}
#corps
{
width: 750px;
margin-top: 10px;
margin-left: 210px;
background-color: grey;
padding: 10px;
Color: White;
}
#footer
{
clear: left;
margin-top: 10px;
background-color: #ebebeb;
padding: 10px;
text-align: center;
}
3 réponses
-
slt
c'est background-image sans s
il te manque 1 point virgule:
font-size: 14px
et un autre là:
Color: Black -
Bonjour,
Il manque des point-virgules (;) sur les 2 lignes avant le CSS qui ne fonctionne pas.
-
Merci a toi Astuces72 =D j'avais pas fait attention maintenant je relirais mes lignes code avec de vous déranger.