On 10/1/13 7:22 AM, Chris Rockwell wrote:
What version? It's fine in 29.0.1547.76 m and 32.0.1657.2 canary Aura


On Tue, Oct 1, 2013 at 10:18 AM, MiB <digital.disc...@gmail.com> wrote:


1 okt 2013 kl. 16.16 skrev Chris Rockwell:

What browser are you viewing in? It works for me in ff,chrome,ie10
  It fails in Chrome.
______________________________________________________________________

I think the problem is with the "margin" declaration. It should simply be

  margin: auto;

(Yes, auto works on top and bottom margins as well as left and right when you
use absolute positioning. Who knew?)


<http://coding.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/>

--
Cordially,
David

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to