I need help creating the top part of a website that will display a logo on the left and a navigation bar on the right. I have a large image for the logo as it may be used on an HDTV and needs to scale well. I tried putting the logo and nav bar in the same div and setting the height to 10% so it would always be at the top of the screen, but it's not scaling correctly. Any assistance would be greatly appreciated.
<body>
<div id="container">
<div id="top">
<img src="images/logo.png" alt="logo">
<ul>
<li><a href="#" title="1">1</a></li>
<li><a href="#" title="2">2</a></li>
<li><a href="#" title="3">3</a></li>
<li><a href="#" title="4">4</a></li>
<li><a href="#" title="5">5</a></li>
</ul>
</div>
</div>
This is my CSS code:
#top {
height: 10%;
width: 100%
}
Your help would be much appreciated.