- From: Brian Blakely <anewpage.media@gmail.com>
- Date: Sat, 2 Nov 2013 17:22:01 -0400
- To: Ian Hickson <ian@hixie.ch>
- Cc: Matt Falkenhagen <falken@chromium.org>, "whatwg@lists.whatwg.org" <whatwg@lists.whatwg.org>
> > > 4. Why isn't the dialog horizontally centered in the viewport? The spec > > just mentions vertical centering and 'top'. > > The horizontal centering is done via the default CSS. The vertical > centering can't be done with CSS, hence all the prose about it. That isn't true anymore. There are a few very reliable techniques, such as flexbox or a combination of display: inline-block and vertical-align: middle.
Received on Saturday, 2 November 2013 21:22:44 UTC