|
Aidenet.com Aide informatique et nouvelles technologies
|
|||||||||||||||||||||||||||||||
Forum d'entraide sur l'informatique et les nouvelles technologies
Vous n'êtes pas identifié.
Bonjour a tous,
Mon problème vient certainement d'une erreur toute bête mais je ne parviens pas a la trouver.
Je débute et je n'arrive pas a utiliser le CSS sur ma page...Je m'explique: voici la pag html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Thetra Photoshop</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="cssphotoshop.css" />
</head>
<body>
<B><center>Blue Lagoon</center></b>
Texte Test
<a href="photoshopsite2.html" title="Visitez la gallerie de photos">Gallerie</a>
</body>
</html>
et voici la page css:
body {
background-image: url("fond photoshop.gif");
background-repeat:no-repeat;
background-position:right bottom;
background-attachment:fixed,
}
p {
font-style: italic;
font-weight: bold;
font-size: 30px;
font-family: arial, sans-serif;
}
a-link {
color: green
}
a-hover
{
size: 34px
}
a-visited
{
color: yellow
}
a-active
{
color: red
}
Tout ce qui concerne le fond d'écran a bien marché, mais ni le code pour modifier le texte ni celui des liens ne fonctionne.
Ou est le problème ? Aidez moi svp ![]()
Hors ligne
pour la page il faut inserer un paragrahpe a l'aide de la balise: <p>votre paragrahpe</p>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>Thetra Photoshop</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="cssphotoshop.css" />
</head>
<body>
<B><center>Blue Lagoon</center></b>
<p>Texte Test</p>
<a href="photoshopsite2.html" title="Visitez la gallerie de photos">Gallerie</a>
</body>
</html>
et pour les style replacer les tirets(-) par les deux points aux pseudo (a:link a:hover ....)
body {
background-image: url("fond photoshop.gif");
background-repeat:no-repeat;
background-position:right bottom;
background-attachment:fixed,
}
p {
font-style: italic;
font-weight: bold;
font-size: 30px;
font-family: arial, "sans serif";
}
a:link {
color: green
}
a:hover
{
font-size: 34px
}
a:visited
{
color: yellow
}
a:active
{
color: red
}
Hors ligne
Merci beaucoup maolee ! Tu peux pas savoir comme ton aide me fait plaisir :p
Le problème est réglé, tout fonctionne a merveille ![]()
Hors ligne
|
|
|
|