CruxCreations
12-08-2009, 12:09 AM
Hi, I could easily do what I need to do with a basic table but know that it's not proper. So I'm wondering how I can do the following...
[ 100% ] [ 1022px ] [ 100% ]
Basically Have a fixed div in the middle with 2 divs on each side so I can place repeating backgrounds in them. I've been trying to do it unsuccessfully.
Here is my attempt...
<div style="width: 100%; height: 300px;">
<div style="width: 100%; height: 300px; background: url(images/headbg.png) repeat-x; float: left;"></div>
<div style="width: 1022px; height: 300px; background: url(images/head.png) no-repeat; float: left;"></div>
<div style="width: 100%; height: 300px; background: url(images/headbg.png) repeat-x; float: right;"></div>
</div>
Thanks for any help!
[ 100% ] [ 1022px ] [ 100% ]
Basically Have a fixed div in the middle with 2 divs on each side so I can place repeating backgrounds in them. I've been trying to do it unsuccessfully.
Here is my attempt...
<div style="width: 100%; height: 300px;">
<div style="width: 100%; height: 300px; background: url(images/headbg.png) repeat-x; float: left;"></div>
<div style="width: 1022px; height: 300px; background: url(images/head.png) no-repeat; float: left;"></div>
<div style="width: 100%; height: 300px; background: url(images/headbg.png) repeat-x; float: right;"></div>
</div>
Thanks for any help!