I am trying to put a BG Image around the Content area without overlapping the Nav or Header -
I've 4 IDS:
Container
Banner
Nav
Content
[Temp Host http://whytey.ihostq.com/impulse/]
Code:
#container {
width: 760px;
\width: 760px;
w\idth: 760px;
margin: 0px;
margin-left: 23%;
margin-right: auto;
}
body {
margin-top: 10px;
padding: 0;
background: url(images/side_bg.gif) top left repeat-x;
font-family:Arial, Helvetica, sans-serif;
color: black;
height: 135px;
}
#banner {
padding: 0;
background-image:url(images/impluse_logo.jpg);
width: 760px;
height: 160px;
}
#nav {
padding: 0;
background-image:url(images/nav5.gif);
width: 442px;
height: 32px;
margin-top: 1.3%;
margin-left: 23%
}
#content {
padding-top: 25px;
padding-bottom: 4px;
padding-left: 7%;
background-repeat: repeat-x;
margin-left: 10%
width: 85%
}
p, pre {
letter-spacing: 0.2px;
line-height: 16px;
font-size: 12px;
}
h1 {
letter-spacing: 1.1px;
}
It should look something like this
Code:
<div id="container">
<div id="banner"></div>
<div id="nav" ></div>
<div id="content">
<h1 class="text">First Heading</h1>
<p class="text"></p>
<p class="text"></p>
<p class="text"></p>
<h1 class="text">Second Heading</h1>
<p class="text"> </p>
<p class="text"> </p>
</div>
</div>
</div>
What would be the best way to do this?
Thanks
Whytey
Last edited by Whytey : 10-04-2007 at 08:29 PM.
|