Andreas Boehmer wrote:
Can you give an example of where standard-compliant browsers expand
the outer container with a float as content?
I believe Roger pointed to the almost perfect example:
< http://www.complexspiral.com/publications/containing-floats/ >
Myself, being a "heavy user" of floats, si
On 11 feb 2005, at 00.17, John Horner wrote:
My question is, *why* is the correct behaviour the first one? It takes
a lot of people by surprise and they often see what IE does as the
natural and obvious thing to do.
I'm not trying to start a flame war, I really want to know!
Eric Meyer's Contain
> Josh McDonald wrote:
> >> Sorry, I can't test my statement here, so if I am wrong please
> >> correct me, but as far as I remember taking out the set height (or
> >> min-height) of Div B will reduce Div A to 0 height. Floating Div B
> >> has got a similar effect to giving position:absolute - D
Josh McDonald wrote:
Sorry, I can't test my statement here, so if I am wrong please
correct me, but as far as I remember taking out the set height (or
min-height) of Div B will reduce Div A to 0 height. Floating Div B
has got a similar effect to giving position:absolute - Div A will
ignore the
At 1:01 PM +1000 11/2/05, Josh McDonald wrote:
I've got assloads of to get around this.
It's not just you! Why is that the (in some quarters) recommended
solution, rather than just the break tag, with appropriate CSS to
make sure it clears?
...and already we're off-topic.
-
Yeah that's true, a float won't expand its container, I've got
assloads of to get around this.
On Thu, 10 Feb 2005 18:07:51 -0800, Andreas Boehmer
<[EMAIL PROTECTED]> wrote:
> > John Horner wrote:
> > > * floated elements too big for the enclosing element "spill out"
> > > * except on IE, whe
> John Horner wrote:
> > * floated elements too big for the enclosing element "spill out"
> > * except on IE, where they stretch the enclosing element
> >
> > that's a bit simplified, but essentially correct, right?
>
> > My question is, *why* is the correct behaviour the first one? It
> > tak
John Horner wrote:
* floated elements too big for the enclosing element "spill out"
* except on IE, where they stretch the enclosing element
that's a bit simplified, but essentially correct, right?
Right.
For instance, with this code:
DIV A
DIV B
DIV B will overlap DIV A and c
n Horner
> Sent: Friday, 11 February 2005 10:17 AM
> To: wsg@webstandardsgroup.org
> Subject: [WSG] Why DO floats not stretch their containers?
>
>
> This is more of a philosophical question than a technical question,
> but here's the background. As we probably all know:
This is more of a philosophical question than a technical question,
but here's the background. As we probably all know:
* floated elements too big for the enclosing element "spill out"
* except on IE, where they stretch the enclosing element
that's a bit simplified, but essentially correct, rig
10 matches
Mail list logo