|
|
|
Bienvenue sur le Wiki d'Univers-PC !
Afin de vous familiariser avec le wiki je vous invite à lire les Tutoriaux du wiki. Rapporter une mise à jour de logiciel ActiveDe Wiki-PC.
ExempleCode XHTML
<!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>:active</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="screen" type="text/css" title="active" href="active.css" />
</head>
<body>
<h1>Exemples XHTML / CSS</h1>
<p>Bonjour,<br />
Ceci est un exemple du site <a href="http://wikipc.fr">Wiki-PC.fr</a> de la proprété CSS : <a href="http://wikipc.eu/index.php5?title=Active">pseudo-format :active</a></p>
<h1>Les Liens</h1>
<p>
<a href="http://wiki-pc.fr">Lien Normal</a><br />
<a class="lienvert" href="http://wiki-pc.fr">Lien en vert avec plusieurs effets</a><br />
</p>
</body></html>
Code CSS
body
{
background: url("http://wiki-pc.fr/skins/monobook/wiki.png") #FFFFDE fixed no-repeat bottom right;
}
h1
{
background-color: #E1E5FF;
}
a.lienvert:link /*(pour les liens avec le class : "lienrouge")*/
{
color: green;
text-decoration: underline;
}
a.lienvert:visited
{
color: orange;
text-decoration: overline;
}
a.lienvert:hover
{
font-style: italic;
text-decoration: underline overline;
}
a.lienvert:active
{
background-color: black;
color: white;
}
Ce qui affichera
FonctionPermet d'indiquer l'apparence d'un lien lors du clic de la souris. Le pseudo-format est :active.
Il s'utilise sous cette forme : a.lienvert:active
{
background-color: black;
color: white;
}
Pour résumer
a:active
{
Et la vous mettez les propriétés css de texte que vous voulez !!
}
|


