Div not showing background color
i'm very new to css and i'm still trying to get a hang of things work. what i'm trying to do should be simple, but i don't understand why its not working.
i have a banner div from my code below which i set to have a background color of yellow just so i know its there . i just can't seem to figure out why the div is not displaying. Can anyone please help!!!
thanks
HTML Code:
body {
font-family: arial, sans-serif;
background-image: url("dark-canvas.gif");
padding: 0;
margin: 0;
/* max-width: 100%; */
}
#header {
position: fixed;
width: 100%;
background-color: black;
height: 70px;
z-index: 10;
/*overflow: auto; */
}
#icons {
float: right;
padding-right: 10px;
}
#banner {
background-color: yellow;
height: 50px;
}
HTML Code:
<html>
<HEAD>
<title>My test script</title>
<link href="./bukotest.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY>
<!-- <div id="main"> -->
<div id="header">
<div>
<img src="twitter-icon.png">
</div>
<div>
<img src="twitter-icon.png">
</div>
<div>
<img src="twitter-icon.png">
</div>
<div id="icons">
<img src="twitter-icon.png">
</div>
</div> <! end of header ->
<div id="banner">
<img src="twitter-icon.png">
</div>
</BODY>
</html>