Re: [css-d] centering block elements in IE 6.0 fails

2008-05-20 Thread Daniel Kabs
Hello, almost two years ago I had trouble horizontally centering an absolutely positioned element: On Tuesday 24 October 2006, Gunlaug Sørtun wrote: Daniel Kabs wrote: Please see the test page at http://www.mobotixserver.de/~daniel/css_center_horizontally.html The page works on Firefox

Re: [css-d] centering block elements in IE 6.0 fails

2006-10-25 Thread Daniel Kabs
On Tuesday 24 October 2006 14:24, Gunlaug Sørtun wrote: Yes, IE6 centers block-element by auto-margins when in standard compliant mode, but there's a flaw in IE when it is served absolute positioned elements. As I wrote before, I read about the Centering with auto-margins technique in Eric

[css-d] centering block elements in IE 6.0 fails

2006-10-24 Thread Daniel Kabs
Hello there, I've read in Eric Meyer's book that one can center nested block elements *horizontally* inside a parent block element by setting left and right margins of the nested element to auto (p. 316, 2nd. ed.). I also found postings in this list saying so. I take it, this should work in IE

Re: [css-d] centering block elements in IE 6.0 fails

2006-10-24 Thread Gunlaug Sørtun
Daniel Kabs wrote: I tried to apply the Centering with auto-margins technique according to http://css-discuss.incutio.com/?page=CenteringBlockElement Please see the test page at http://www.mobotixserver.de/~daniel/css_center_horizontally.html The page works on Firefox and Konqueror