Wrong Property

Report a typo

We've learned that if we use float and clear incorrectly, we can get an undesirable result. However, if we use them correctly, these two properties can help us a lot.

This is the case with the code below. Someone ended up using the wrong property and messed up the layout.

.left-bar {
  float: left;
}

.content {
  clear: right;
}

.right-bar {
  float: right;
}

.footer {
  float: both;
}

Select from the options below the property that was used incorrectly.

Select one option from the list
___

Create a free account to access the full topic