Summary: | Serious bug in div placement (float: right, left) [TESTCASE] | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Mikolaj Machowski <mikmach> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | testcase |
Description
Mikolaj Machowski
2004-07-30 16:25:17 UTC
Created attachment 6925 [details]
testcase
testcase
I'm not sure what you're seeing, but I see it rendered exactly as it's supposed to be: one floating left, one floating right and one in the middle: all in one row. > I'm not sure what you're seeing, but I see it rendered exactly as it's
> supposed to be: one floating left, one floating right and one in the
> middle: all in one row.
What?????
You have
<div>
<div left/> <div right/>
</div>
<div />
float left and right are enclosed in another div, container, whatever.
Why last div is supposed to jump _into_ already closed div???
m.
because there is no non-floating content? Make it: <div style="clear: both"> Regular div </div> And just noting that Konqueror displays the exact same way as Mozilla. This is the desired behaviour. OK Still for me it is against common sense for div to jump into inside the same level another div... The point is, the first div contains two elements, both of which are floats. So there is space in the middle for more stuff to be placed. I think that, by adding a inside the first div but outside the sub-divs, you'd get what you want, because that would create a third, anonymous box. |