hi guys,
i am currently facing one problem whereby i have a div container with a background-image and i want the background to automatically repeat as the inner divs contents expands. However, if i do not specify any height to the container, the background does not repeat at all even though the inner divs contents are expanding.
here's what i did
#container
{
background-image: url(...);
}
#inner
{
top: 10px;
left: 25px;
position: absolute;
}
when my contents in the inner div grows, the container background does not repeat to cover, i have also tried setting the container height to auto but it doesnt work, if i set height to 100 then it repeats the background for a 100px..
please help.. my html are as follows:
<div id="container">
<div id="inner">
the contents are all here
</div>
</div>