I have created a menu list in html using a list, i have added the list to a div called menu. In my css I have added display:inline to try and make the list to display the list inline, normally this works but for some reason it doesn't seem to work.
Here is my Code
#menu ul {
width: 100px;
position: absolute;
z-index: 1;
background: white;
padding-top: 20px;
margin: 0;
padding: 0;
list-style: none;
display: inline;
}
<div id="menu">
<ul>
<li><a href="index.php">Home</a>
</li>
<li><a href="about.php">About Us</a>
</li>
<li><a href="Specials.php">Specials</a>
</li>
<li><a href="terms.php">Terms</a>
</li>
<li><a href="contact.php">Contact Us</a>
</li>
</ul>
</div>