whats wrong with this code i can't get menu and logo alinged i want logo to the left and menu to right along with logo, but i'm getting logo on the top and menu below it...can anyone explain the problem to me? and also what should be the solution for this?
<!DOCTYPE html>
<html>
<head>
<title> My website </title>
<style>
#logo{
height:30px;
padding:0;
margin:0;
float:left;
}
#menu{
}
ul{
float:left;
list-style-type:none;
width:100%;
padding:0;
margin:0;
}
li{
display:inline;
}
</style>
</head>
<body>
<div id="container">
<div id="logo"><img src="images/logo.jpg"</div>
<div id="menu">
<ul>
<li>Home</li>
<li>Contact Us</li>
<li>Help</li>
<li>About us</li>
<li>Who we are</li>
</ul>
</div>
</div>
<body>
</html>