I am trying to create a menu using html, I have added my link in an unordered list (ul) has shown below. In my css i added a display:inline; to the links so that they would display in a link like a menu but for some reason it doesn't seem to work.
#menu a {
text-decoration: none;
}
#menu ul {
list-style: none;
}
#menu ul li a {
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="offers.php">Special Offers</a>
</li>
<li><a href="staff.php">Meet Our Staff</a>
</li>
<li><a href="contact.php">Contact</a>
</li>
</ul>
</div>