|
Posted by Animesh Kumar on 06/14/05 01:05
<snip>
>
>
> I think I understand now what you meant with the background image not
> extending - you are talking about the white background, not the leafy
> things, right?
>
> It's because the div the images are in, isn't extended to encompass
> the images, because they are floats. In IE a div extends automatically
> if it has a width or height, but in other browsers that's not the
> case.
> You'll need a clearing element after the last image, before the end of
> the containing div.
> You can add a simple <div class="clear"> </div> before the end of
> div#mainbody, and add this to the CSS:
> div.clear{
> clear:both;
> font-size:1px;
> line-height:1px;
> }
>
> The 1px values are to make the space that div takes up as small as
> possible.
>
Hi Els:
Thanks again for your valuable suggestions. Wow you really took off a
great burden from my shoulder by telling about non-extending background.
I was feeling perplexed for a few weeks since I had no clue of this. I
was reading from Eric Meyer to understand things better.
I hope I will implement these tricks and make my poetry page and this
picture page better.
Thanks a lot buddy.
Animesh
[Back to original message]
|