On 12/10/05, Abyss Information <[EMAIL PROTECTED]> wrote: > Hi all > > I am trying to center a div but ontop of another div.. > > here is my code > > <div style="width:700px; margin-left:auto;z-index:20; > margin-right:auto;background-color:#000;position:absolute; > padding-top:40px;"> > asdfdsafdsfdf > </div>it works in IE giving it centered exactlybut in FF it is on the left > hand side of the page..any suggestions?i tried to float method but that did > not work...it looks worseThanks heaps Abyss
'Remove position:absolute. -- -- Christian Montoya christianmontoya.com ... rdpdesign.com ... cssliquid.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/