Hi,

Is there any way to float a div into the center of a page and have
elements wrap around it on either side? If I use "margin: 0 auto" to
center a div or a float + margin to center a div, then I don't get
content in one or both of the margins.

Or is there any way to center a div on top of and completely
independently of other elements. Without float behavior I can't
firgure out how to stop the div's margins from affecting the flow of
the surrounding elements. If I use a negative margin-bottom with
"position: relative; z-index: 1" to shift up the surrounding elements,
that would be perfect if I knew the exact height of the centered div.
But I don't know the exact height of the center element because it
needs to grow depending on the content.

Basically I want the behavior that you would expect from "float:
center;" if there were such a thing.

Mike
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to