<!DOCTYPE html>
<head>
<style>
div#container {
width:500px;
}
div#header {
background-color:#FFA500;
}
div#menu {
background-color:#FFD700;
height:200px;
width:100px;
float:left;
}
div#content {
background-color:#EEEEEE;
height:200px;
width:400px;
float:left;
}
div#footer {
background-color:#FFA500;
}
<!--Problem lies in this section
div#footer ul#footermenu li{
display:block;
float:left;
padding:0 10px;
}
-->
</style>
</head>
<body>
<div id="container">
<div id="header">
<h1 style="margin-bottom:0;">Main Title of Web Page</h1></div>
<div id="menu">
<b>Menu</b><br>
HTML<br>
CSS<br>
JavaScript</div>
<div id="content">
Content goes here</div>
<div id="footer">
<ul id="footermenu">
<li><a href="#">Welcome</li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Location</a></li>
</ul>
</div>
</body>
</html>
Hi, can someone help? I am trying to create a horizontal footer menu at the bottom. When I float the <ul> items, the entire color of div#footer disappears.
Godfrey