Click to See Complete Forum and Search --> : automatically adjusting background height


ketanco
06-13-2009, 07:47 AM
Hello,
One of the pages I have is something that will have a new content every week. I am planning to simply write in in word and then save it as an htm file and then upload it to my server to display on that page...Now, I can adjust it manually every week but I am still wondering, if there is a way to adjust the background height of that page automatically, according to the height of htm file for every week as it will vary...

The html for the background is like this:
<div class="rightbg">

<img src="pictures/rbg6.png" width="100%" height="100%">

</div>

and the css is like this:

.rightbg
{

position:absolute;
top:0px;
left:945px;

height:2050px;

}

so right now the height is a fixed 2050 px. How can I make this height changing automatically per the height of the new htm file every week?