|
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
[Back to original message]
|