ie6/7 shrink-wrapping with floated children

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ie6/7 shrink-wrapping with floated children

Mike Wilson
I'm a little rusty on my hack management, but do I remember
correctly that there is no workaround for the following
IE6 and IE7 bug:

  <doctype html>
  <div style="position: absolute;">
    <div style="float: right;">X</div>

(the outer DIVs shrink-wrapping is incorrectly defeated by
the floated child so it instead spans the full page width)

Is the only workaround for the wrong size to set an explicit

Best regards
Mike Wilson

css-discuss [[hidden email]]
List wiki/FAQ --
List policies --
Supported by --