- From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
- Date: Thu, 19 Jul 2012 01:25:31 +0400
- To: Mike Sherov <mike.sherov@gmail.com>
- Cc: Alex Mogilevsky <alexmog@microsoft.com>,Lea Verou <leaverou@gmail.com>,www-style list <www-style@w3.org>
18.07.2012, 05:42, "Mike Sherov" <mike.sherov@gmail.com>: > 1. How does padding:auto respond to over constrained boxes? What is overconstrained box? > 2. How does padding:auto interact with margin:auto? `margin:auto` centers box if its outer width (content width + padding + border) is less than content width of its parent. With `padding:auto`, outer width of the box is equal to 100% of content width of the parent, so `margin:auto` most likely should not have any effect if element has `padding:auto`.
Received on Wednesday, 18 July 2012 21:26:04 UTC