I have a #page-wrap, and inside that I have #main-content which contains two other divs called #guts and #navigation. I want #main-content to have a background image, and to be the same length as whatever is the longest div inside (likely to be '#guts').
However, I have no idea how to achieve this. Help?
It's a little unclear what you're asking for. Do you want the background to "stretch" according to the width of the div? If so, you can use the "background-size" property (not supported by older browsers, though).
If you want the background to repeat, then you should be already set.
However, I have no idea how to achieve this. Help?
Anyway, can I see a live link?
If you want the background to repeat, then you should be already set.