Alright, i'm just learning CSS, and i'm making a website. So I ran into a problem. I'm trying to place my content bar to the right of the left nav bar, but it goes under it, then im gonna put a right nav bar. Here is the problem:
Heres the codes:
index.html
Code:
<html>
<head>
<title>Conquer Website</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<div id="container">
<div id="header"> </div>
<br />
<div id="leftbar"> </div>
<div id="content"> </div>
</div>
</body>
</html>
style.css
Code:
body {
background-color: #565656;
font-family: Arial;
}
#container {
width: 600px;
padding: 1px;
margin: 43px auto 0;
}
#header {
width: 600;
height: 100;
background-image:url(images/header.jpg);
}
#leftbar {
width: 150;
height: 20;
background-image:url(images/bar.jpg);
}
#content {
width: 275;
height: 20;
background-image:url(images/content.jpg);
}