Html et css
theo-fr
-
theo-fr -
theo-fr -
Bonjour, je voudrais savoir comment changer en pariculier un, ou plusieurs mot de couleur,sachant que sa c'est mon code source de mon css: Merci de vos reponses =)
body
{
font-family: Comic Sans MS, Arial, Times New Roman;
font-size: 14px;
background-color: blue;
}
#conteneur
{
width: 1200px;
background-color: #000000;
margin: auto;
padding: 10px;
}
#header
{
margin:auto;
width: 1000px;
height: 225px;
}
#menus
{
width: 200px;
background-color: red;
float:left;
margin-bottom: 10px;
margin-top: 10px;
margin-left: 100px;
}
#menus a
{
color: black;
text-decoration: none;
}
#menus a:hover
{
color: white;
}
#menus h2
{
text-align:center;
}
#corps
{
background-color: white;
width: 850px;
margin-top: 10px;
margin-left: 210px;
margin-bottom: 10px;
}
#corps h1, h2
{
text-align:center;
}
#footer
{
background-color: grey;
clear:left;
margin-top: 10px;
text-align:center;
font-family: Times New Roman
}
body
{
font-family: Comic Sans MS, Arial, Times New Roman;
font-size: 14px;
background-color: blue;
}
#conteneur
{
width: 1200px;
background-color: #000000;
margin: auto;
padding: 10px;
}
#header
{
margin:auto;
width: 1000px;
height: 225px;
}
#menus
{
width: 200px;
background-color: red;
float:left;
margin-bottom: 10px;
margin-top: 10px;
margin-left: 100px;
}
#menus a
{
color: black;
text-decoration: none;
}
#menus a:hover
{
color: white;
}
#menus h2
{
text-align:center;
}
#corps
{
background-color: white;
width: 850px;
margin-top: 10px;
margin-left: 210px;
margin-bottom: 10px;
}
#corps h1, h2
{
text-align:center;
}
#footer
{
background-color: grey;
clear:left;
margin-top: 10px;
text-align:center;
font-family: Times New Roman
}
A voir également:
- Html et css
- Editeur html - Télécharger - HTML
- Espace en html ✓ - Forum HTML
- Nbsp html ✓ - Forum Webmastering
- [**] Balise pour un espace vide en hml. Merci ✓ - Forum Webmastering
- Html download - Télécharger - HTML
3 réponses
<span class="nom_de_ta_classe"> Mot à colorer </span>
dans le CSS :
.nom_de_ta_classe{
color: #color;
}
dans le CSS :
.nom_de_ta_classe{
color: #color;
}