https://bugzilla.wikimedia.org/show_bug.cgi?id=55487

--- Comment #5 from Sam Smith <samsm...@wikimedia.org> ---
(In reply to Matthew Flaschen from comment #3)
> There are also other CSS-only methods (e.g.
> http://benalman.com/code/test/css-centering.html which uses a bunch of
> nested divs) to investigate, but I haven't tested the cross-browser support
> yet.

I've opted to introduce an additional div that encloses the modal so that it
and the outer container can be styled with CSS tables, which gives you vertical
centering. In IE6/7 you can fall back to push down/pull up by 50% of the
modal's height to achieve the same effect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to