Will Merrell wrote:
I have run into an odd bug where an input element is placed strangly when it
is inside a div, but only when it is viewed in IE. I have been able to
produce a small test example that exibits this bug. It is located at
http://www.coaching-life.com/css/gallery.html for you to look at.
...
Here's what the bug looks like. I have an outer div, a form and an inner
div. Inside the inner div is an input field. The outer div has a wide left
margin. On IE, the input seems to take on this wide margin inspite of (or
perhaps in additon to) the margin setting that is on the input field itself.
IE renders the input with an inexplicable wide left margin. ...
Confirmed, what a crabby bug. I have no real idea what happens.
Slightly minimized, the parent seems to be expanded by a mysterious
additional "space" (left+right!) the button takes from its grandparent's
margin:
http://www.satzansatz.de/cssd/tmp/input.html
When you resize the window (say, 250px width), this mysterious "margin"
will prevent the parent to collapse, and the right part will force the
following words in the yellow span to wrap (a "inexplicable solid" space?).
Under two conditions:
- parent has layout (in your example, the width on .clist)
- grandparent has no layout (the workaround is to set layout [1] here)
Don't know if this dimensional bug is described somewhere, or if I miss
something obvious.
Ingo
[1] http://www.satzansatz.de/cssd/onhavinglayout.html#hack
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/