I want to put a small div (50x50) on the center of another div (200x200).
I got 2 ways to do it:
Using position absolute and relative
position:relative
position:absolute
top:75px;
left:75px;
or
margin:-125px 0 0 75px;
I would like to know which way is better and why...
I heard some people saying that position is not recommended.. is that true? why?
EDIT:
The divs are exmaples.
In reality I got image above another image (youtube preview image, and play button image above it).
The Images are inside accordion, and in ie6 closing the accordion/open it cause the absolute container to float above everything...