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
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
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
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