Hi All,
For a new site that I am building, I am struggeling to make a css top menu work.
The basic parts work:
<div id="header-menu">
<ul><li><a href="http://localhost/cookseasonal/current/">Home</a></li>||<li><a href="http://localhost/cookseasonal/current/users.php">Users</a></li>||<li><span class="current">My Kitchen</span></li><li>
<ul class="lgn">
<form action="/cookseasonal/current/my/index.php" method="post">
<li>
<input type="text" class="formel_1" name="username">
</li><li>
<input type="password" class="formel_1" name="access">
</li><li>
<input type="hidden" name="one" value="1"><input type ="submit" class="formel_1" value="login">
</li>
</form></ul></li></ul>
</div>
met css
div#header-menu ul.lgn li input,ul.lgn form
{
display: inline;
width: 70px;
border: solid 1px;
}
#header-menu li, #header-menu2 li
{
padding: 0.1em;
list-style: none;
display: inline;
margin: 0.1em;
}
However, the form keeps flipping to the next line. I tried removing the separate ,ul> for the form, but that does not work.
Anybody some suggestions how to make the form behave?
Cheers!
J.
[edit] I have placed the page online with the error in it on www.cookseasonal.com/my/index.php [/edit]