Felix Miata wrote:
On 04/12/13 21:04 Felix Miata apparently typed:

http://members.ij.net/mrmazda/tmp/test5.html is a reduction of a page I'm trying to build.


IE puts the top HR and the following div#contentwrap exactly where I want them, centered in the div#outerwrap space not used by the sole float, div#menu.


Gecko only puts the top HR where I want it, centering div#contentwrap in the viewport rather than the available space. Since Gecko is able to center the HR in the available space, apparently via margin-left-value: auto and margin-right-value: auto in gre/res/html.css, it ought to be able to do it with a div immediately following sized to the exact same width. So far, I've not found a way. How can this be done?


Is the top HR placement a Mozilla bug? Someone on IRC suggested the HR placement is bug 244932, but I think it, if a bug, is opposite behavior.

This is due to -moz-float-edge: margin-box; in html.css, according to all "features" involved, it seems to be working "as-intended" though I dont think (personally) the intended behavior is correct.


what -moz-float-edge is doing is calculating the available space with direct respect to the float's on the side, and with margin-box specified allows the float's margin to make a difference.

Hmm anyone here know why -moz-float-edge was added to hr in html.css?

~Justin Wood (Callek)
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to