blob: fa7a680648fd01d3e015a3862f725bad1ebe43fa [file] [log] [blame]
<!DOCTYPE html>
| If all of properties have a computed value other than "auto", the values are
| said to be "over-constrained" and the specified value of "margin-right" is
| ignored.
.containing-block {
background-color: #2196f3;
padding: 10px 0;
margin-bottom: 10px;
width: 500px;
.block {
/* TODO: Add borders when supported. */
background-color: #3f51b5;
display: block;
height: 5px;
padding: 0 100px;
width: 100px;
.margin-left {
margin-left: 50px;
.margin-right {
margin-right: 50px;
<div class="containing-block">
<div class="margin-left block"></div>
<div class="containing-block">
<div class="margin-right block"></div>