Centering fancybox with position:aboslute not letting me change location

Ceksbrese

New Member
I have a fancybox that pops up when I click on a link. It opens up somewhere around the center area, however not quite in the middle. The css for the fancybox is:\[code\]#fancybox-wrap { position:absolute; /*padding: 20px;*/ z-index: 1101; outline: none; display: none; margin: 0px auto 0px auto;}\[/code\]However, when I have \[code\]position:absolute;\[/code\], the margin settings become void. Nothing seems to work. \[code\]left: 50px;\[/code\], etc won't work. Any ideas?When I change absolute to relative the fancybox is perfectly in the middle where I want it, but it draws the fancybox almost out of view at the bottom.
 
Back
Top