Reply to Re: more on inline lists

Your name:

Reply:


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">&nbsp;</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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация