By dillony on
I'm designing an Omega subtheme with the responsive settings off so that it has a fixed with. I've got a simple "Footer Second Block" that looks like:
<div width="940" style="background-image: url(footer-bg.jpg); background-repeat:no-repeat; height: 324px; position:relative; top:0px; left:0px;">
<p style="margin: 0px; padding: 0px; border: 0px;"> </p>
</div>
<div class="clear"></div>I'm wanting to create a solid background the same height, yet 100% of the screen width behind it. Is this possible?
Comments
I don't know if this will
I don't know if this will help, but I've had some luck displaying blocks using:
left: -xxxpx;
width: 100%;
The moves the left side of the block and expands it to the edge of the region/zone it's in. Experiment and it might work.
Thanks! It didn't exactly
Thanks! It didn't exactly work, but it did give me an idea for a fix. Here's what I used:
Definitely not the cleanest code, but it works. I used background-color just for testing purposes, and will change those to a background image that I want to repeat horizontally.
Thanks again.
I think you can accomplish
I think you can accomplish what you want with one wrapper div.
I have a 100% width .zone-footer-wrapper with a repeating bg and .zone-footer centered with its own BG. I believe your omega subtheme should be laid out like that.