What browser are you viewing in? It works for me in ff,chrome,ie10
On Tue, Oct 1, 2013 at 10:14 AM, MiB <digital.disc...@gmail.com> wrote: > > 1 okt 2013 15.10 Chris Rockwell: > > > If absolute positioning is an option, a simple, clean way is: > > > > .centeredElement { > > position: absolute; > > margin: 0 auto; > > left: 0; > > right: 0; > > top: 0; > > bottom: 0; > > height: 300px; > > width: 300px; > > } > > > > http://codepen.io/chrisrockwell/pen/Ffjul > > But here there's no vertical centering going on? > ______________________________________________________________________ > 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/ > -- Chris Rockwell ______________________________________________________________________ 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/