[...]
Thanks Ben I got that to work using the bg
<div style="position: relative; background-image: url(images/
template_r13_c1.jpg); background-repeat: repeat-y;">
Hello<br>
Hello<br>
Hello<br>
Hello<br>
Hello<br>
Hello<br>
Hello<p>
Hello<p>
Hello<p>
Hello<p>
</div>
The problems with this are that it is getting the height from within
the div, where I need it to get the height from a separate element -
it also writes the text on top. Any ideas what I can do?
You need it to get the height from which element?
It might be easiest to post a url to a test case.
Hi Ben,
sorry still a lot of work to be done, but the height I need is from
the main content which will change size.
Description:
This image problem is on the lower left and I need it to fill the
space between the menu on the upper left and the menu at the bottom
whose position is determined by the height of the main contents.
A lot depends on how the upper left and lower left menus are getting
their widths and heights. If you're setting them then you can use
something similar to the original suggestion.
<div id="container">
<div id="upperLeftMenu">...</div>
<div id="bottomLeftMenu">...</div>
</div>
Suppser #upperLeftMenu is height: 3em and bottomLeftMenu is height: 4em.
Then you can add
<div id="container">
<div id="upperLeftMenu">...</div>
<div id="bottomLeftMenu">...</div>
<div id="wallpaper"></div>
</div>
#container { position: relative }
#wallpaper
{
position: absolute;
top: 3em;
bottom: 4em;
width: 10em;
left: 0;
background-image: url(etc);
background-repeat: repeat-y;
}
Otherwise, if the top and bottom menus have heights determined only by
their contents, you may need to make the whole thing a three-row table.- Hide quoted text -
- Show quoted text -