Bonjour, je voudrais aligner verticalement la liste ul de mon menu. Comment faire ?
Merci d'avance !
<ul id="navigation">
<li><a href="#">Accueil</a></li>
<li><a href="#">A propos</a></li>
<li><a href="#">Archives</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#" style="text-decoration:underline">Flux Rss</a></li>
<li id="search"><?php include(TEMPLATEPATH . '/searchform.php'); ?></li>
</ul>
#navigation {
margin: 0;
list-style-type: none;
background-color: green;
color: white;
height:30px;
}
#navigation a{
color:black;
text-decoration:none;
}
#navigation li{
display: inline;
}
#searchform{
display:inline;
}
#formulaire{
display:inline;
}
#texte_search{
display:inline;
}
input#s{
border: 1px solid black;
color:black;
}
#searchsubmit{
border: 1px solid black;
width: 25px;
background-color:black;
color: white;
}
ul#navigation {
position: relative;
}
li#search {
position: absolute;
right: 0;
top: 0;
}
Merci d'avance !