Bonjour
réduit a ça plus simple expression
# représente le lien que tu peux mettre
--------------------------------
<!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>
</head>
<body>
horizontal
<div id="navbar1">
<a href="#">Bouton 1</a>
<a href="#">Bouton 2</a>
<a href="#">Bouton 3</a>
</div>
</br>
vertical
<div id="navbar1">
<a href="#">Bouton 1</a></br>
<a href="#">Bouton 2</a></br>
<a href="#">Bouton 3</a></br>
</div>
</body>
</html>
----------------------------------------------------
avec un peut de couleurs
----------------------------------------------------<!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>
<style type="text/css">
div#navbar2 {
height: 30px;
width: 100%;
border-top: solid #000 1px;
border-bottom: solid #000 1px;
background-color: #336699;
}
div#navbar2 ul {
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000;
line-height: 30px;
white-space: nowrap;
}
div#navbar2 li {
list-style-type: none;
display: inline;
}
div#navbar2 li a {
text-decoration: none;
padding: 7px 10px;
color: #FFF;
}
div#navbar2 li a:link {
color: #FFF:
}
div#navbar2 li a:visited {
color: #CCC;
}
div#navbar2 li a:hover {
color: #FFF;
background-color: #3366FF;
}
/*---------------------------*/
div#navbar1 {
height: 90px;
width: 63px;
border-top: solid #000 1px;
border-bottom: solid #000 1px;
background-color: #336699;
}
div#navbar1 ul {
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000;
line-height: 30px;
white-space: nowrap;
}
div#navbar1 li {
list-style-type: none;
display: inline;
}
div#navbar1 li a {
text-decoration: none;
padding: 7px 10px;
color: #FFF;
}
div#navbar1 li a:link {
color: #FFF:
}
div#navbar1 li a:visited {
color: #CCC;
}
div#navbar1 li a:hover {
color: #FFF;
background-color: #3366FF;
}
</style>
</head>
<body>
<div id="navbar2">
<ul>
<li><a href="#">Bouton 1</a></li>
<li><a href="#">Bouton 2</a></li>
<li><a href="#">Bouton 3</a></li>
</ul>
</div>
<br><br>
<div id="navbar1">
<ul>
<li><a href="#">Bouton 1</a></li><br>
<li><a href="#">Bouton 2</a></li><br>
<li><a href="#">Bouton 3</a></li><br>
</ul>
</div>
</body>
</html>
@+