You are here: Re: min-height div background-image « HTML « IT news, forums, messages
Re: min-height div background-image

Posted by Lauri Raittila on 06/19/05 14:55

in alt.html, windandwaves wrote:
> Lauri Raittila wrote:
> > in alt.html, windandwaves wrote:
> >> Hi Gurus
> >>
> >> I have been working on www.waimanapoint.co.nz. In this design, I
> >> use two background images.
> >
> > Why? What do you mean?
>
> Here is the css for the page. I have provided all of it, as I am not sure
> where I am going wrong.

Why do you think copy pasting it helps at all?

Could you please
a) answers my question?
b) read my answer?

I have no intention to debug your whole CSS. Posting it here helps none.

> > If your div is empty, that is usually best.
>
> The div is not empty, there is another div in it and that child div contains
> lots of text.

But what you describe wouldn't happen. Maybe you can make your simplified
example online, and see yourself?

> Ok, so you are saying is that if you float the child div then the height of
> the parent div is not set by the child div?

Yes.

> > You don't need image, you can use empty element. Or you can use height
> > for IE and add display:table for others (to get strechy box IE has.)
>
> If i set height in IE then I still have the height limitations in IE?

You need to use clearing div or something on the bottom for IE, propably
(to trickker the bug.)

Or you can make it inline block instead of table for IE:
#thing {display:inline;display:inline-block;display:table;}

Hm, actually, it is propably easiest to just float the container and have
clear on next element (which you propabably alreasy have)

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Support me, buy Opera:
https://secure.bmtmicro.com/opera/buy-opera.html?AID=882173

 

Navigation:

[Reply to this 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

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