Fancybox not centered

44 views
Skip to first unread message

jamesjacks...@gmail.com

unread,
Apr 15, 2009, 2:39:55 PM4/15/09
to fancybox
Has anyone experienced linked images load to on the right of the page?
The image is just not centered.

Any advice? Thanks!

jamesjacks...@gmail.com

unread,
Apr 20, 2009, 4:29:59 PM4/20/09
to fancybox
If this helps anyone I figured out what the problem was. If you set a
pixel width on the body tag it screws up Fancybox's ability to
distinguish the page center.

Perhaps this can be accounted for in a future release? Thanks!

On Apr 15, 2:39 pm, "jamesjacksonsteph...@gmail.com"

santi.ban...@gmail.com

unread,
May 13, 2009, 5:12:42 AM5/13/09
to fancybox
Well I still have problems with getting the fancybox centred. I have
the width on the html with margin set to 0 auto. Removing these
conditions will center the fancybox but that means that my site isn't
centered anymore. That could probably be solved with adding a wrapper
but I don't think that's a good solution.

On 20 apr, 22:29, "jamesjacksonsteph...@gmail.com"

santi.ban...@gmail.com

unread,
May 13, 2009, 5:22:48 AM5/13/09
to fancybox
ok this is even more weird. I set the margins and the width on the
body and it seems to work (which is not your experience)

On 13 mei, 11:12, "santi.banks.jan...@gmail.com"
<santi.banks.jan...@gmail.com> wrote:
> Well I still have problems with getting the fancybox centred. I have
> the width on the html with margin set to 0 auto. Removing these
> conditions willcenterthe fancybox but that means that my site isn't
Reply all
Reply to author
Forward
0 new messages