PDA

View Full Version : Div Overlay and Centering Problems


Chapo
06-05-2011, 06:51 AM
Ok... i have a DIV that is my wrapper with auto margins to keep it centered and inside i have more divs wich i want at a exact location and they overlay each other. I thought that because those DIVS were inside a DIV that i could use "absulute position" and they will stay centered with the Wrapper, but not.

All i want is to add DIVS inside the wrapper at a exact location, overlay each other and always be centered with the wrapper.

here is a link to my problem.. you will see the Wrapper is always centered and the divs inside not.
www.tuemisora.com (http://www.tuemisora.com)

Corrosive
06-05-2011, 10:11 AM
Hi Chapo

Make your wrapping div position: relative;

Chapo
06-05-2011, 03:09 PM
Dude thas was so simple and cheesy.... thanks mate (let me know when your site update is done to see it)

Chapo
06-05-2011, 03:13 PM
Does the "hide/show elements" behavior of Dreamweaver works in all browsers ?

Corrosive
06-06-2011, 06:55 AM
Does the "hide/show elements" behavior of Dreamweaver works in all browsers ?

No idea mate but the theory is it should do unless javascript is switched off by the visitor.