So I have started making my first site with Div tags and looked everywhere for a decent answer and cant find one anywhere, I have tried positioning the div Absolute and relative but the div wont move. It's driving me crazy.
My code:
CSS:
#navbar {
margin:0px auto;
width:1020px;
height:36px;
background:url(images/navbar.jpg) no-repeat;
}
HTML:
<body>
<div id="banner"></div>
<div id="navbar">
<div id="home"><img src="images/home.jpg" width="100" height="31" /></div><div id="about"><img src="images/about.jpg" width="100" height="31" /></div></div>
<div id="content"></div>
<div id="bottom"></div>
Outcome: attached.
If anyone can help then I would really appreciate it, remember I am a beginner and looking for constructive feedback if possible