Code : Tout sélectionner
<style>
a {
color:#FFFFFF;
text-decoration: underline;
}
a.aze{
color:#000000;
}
</style>
Code : Tout sélectionner
#nav a:hover{color:#009999;
background-color:#FF6666;
}
#nav a{padding:0.2em;
color:red;
font-weight:bolder;
text-decoration:none;
}
#nav {background-color:#FFCC00;
padding:0.2em;
margin-top:1em;
border-style:solid;
border-width:1px;
border-color:#000000;
text-align:center;
}
#tout{
width:50%;
border:2px solid #000000;
background-color:#FFFCAC;
padding:1em;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
.Style1 {
font-size: 24px;
font-style: italic;
font-weight: bold;}
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
<link rel="stylesheet" type="text/css" href="1.CSS" />
</head>
<body>
<div id="tout">
<div id="titre"><center>
<span class="Style1">Bienvenu sur mon site </span>
</center></div>
<div id="nav">
<a href="index.html">Accueil</a> | <a href="#">telechargement</a></div>
<div id="contenu">
<p align="left">blabla</p>
</div>
<div id="footer">
<div align="center">©2006 ism-infomaster.com </div>
</div></div>
</body>
</html>
Code : Tout sélectionner
#tout{
position: absolute;
top: 0;
left: 50%;
width:780px;
margin-left: -390px;
border:2px solid #000000;
background-color:#FFFCAC;
padding:1em;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#titre, #footer, #nav {
text-align: center;
}
#nav {
background-color:#FFCC00;
padding:0.2em;
border: 1px solid #000;
}
#contenu {
text-align: left;
}
#nav a{
padding: 0.2em;
color: red;
font-weight: bold;
text-decoration: none;
}
#nav a:hover{
color:#009999;
background-color:#FF6666;
}
h1 {
font-size: 24px;
font-style: italic;
font-weight: bold;
}Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
<link rel="stylesheet" type="text/css" href="1.CSS" />
</head>
<body>
<div id="tout">
<h1 id="titre">Bienvenu sur mon site </h1>
<div id="nav">
<a href="index.html">Accueil</a> | <a href="#">telechargement</a>
</div>
<div id="contenu">
<p>blabla</p>
</div>
<div id="footer">
©2006 ism-infomaster.com
</div>
</div>
</body>
</html>Code : Tout sélectionner
<div id="contenu">
<p>blabla</p>
</div> Code : Tout sélectionner
#tout{
position: absolute;
top: 0;
left: 50%;
width:780px;
margin-left: -390px;
border:2px solid #000000;
background-color:#FFFCAC;
padding:1em;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#titre, #footer, #nav {
text-align: center;
}
#nav {
background-color:#FFCC66;
padding:0.2em;
border: 1px solid #000;
}
#contenu {
text-align: left;
}
#nav a{
padding: 0.2em;
color: #0066CC;
font-weight: bold;
text-decoration: none;
}
#nav a:hover{
color:#FFCC33;
background-color:#FF6600;
}
h1 {
font-size: 24px;
font-style: italic;
font-weight: bold;
}
#titre{
border-style:solid;
border-width:1px;
border-color:#000000;
background-image:url(images/php1.jpg);
height: 100px;
background-repeat: no-repeat;
}
body {
background-image: url(images/php.jpg);
}Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><===Php Visual===></title>
<link rel="stylesheet" type="text/css" href="1.CSS" />
</head>
<body>
<div id="tout">
<h1 id="titre"> </h1>
<div id="nav">
<form id="form1" name="form1" method="post" action="">
<label><a href="index.html">Accueil</a>|<a href="#">Video cours</a>|<a href="#">Articles</a>|<a href="#">Contacts</a>| <span class="Style2">Rechercher</span>
<input type="text" name="textfield" />
</label>
<input type="submit" name="Submit" value="Envoyer" />
</form>
</div>
<div id="contenu">
<p> </p>
</div>
<div id="footer">
©2006 ism-infomaster.com
</div>
</div>
</div>
</body>
</html>Code : Tout sélectionner
body {
background-image: url(images/php.jpg);
}
#tout{
position: absolute;
top: 0;
left: 50%;
width:780px;
margin-left: -390px;
border:2px solid #000000;
background-color:#FFFCAC;
padding:1em;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
#titre, #footer, #nav {
text-align: center;
}
#nav {
background-color:#FFCC66;
padding:0.2em;
border: 1px solid #000;
}
#contenu {
text-align: left;
}
#nav a{
padding: 0.2em;
color: #0066CC;
font-weight: bold;
text-decoration: none;
}
#nav a:hover{
color:#FFCC33;
background-color:#FF6600;
}
h1 {
font-size: 24px;
font-style: italic;
font-weight: bold;
}
#titre{
border-style:solid;
border-width:1px;
border-color:#000000;
background-image:url(images/php1.jpg);
height: 100px;
background-repeat: no-repeat;
}
#form1, #form1 p {
display: inline;
}
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><===Php Visual===></title>
<link rel="stylesheet" type="text/css" href="1.CSS" />
</head>
<body>
<div id="tout">
<h1 id="titre"> </h1>
<div id="nav">
<a href="index.html">Accueil</a>|<a href="#">Video cours</a>|<a href="#">Articles</a>|<a href="#">Contacts</a>|
<form id="form1" method="post" action="">
<p><label><span class="Style2">Rechercher</span> <input type="text" name="textfield" /></label>
<input type="submit" name="Submit" value="Envoyer" /></p>
</form>
</div>
<div id="contenu">
<p> </p>
</div>
<div id="footer">
©2006 ism-infomaster.com
</div>
</div>
</div>
</body>
</html>