The CSS property ________ can be used to force an element to contain its floated children.

  • clear-float
  • float-clear
  • float-wrap
  • overflow
The correct answer is 'overflow'. The overflow property is used to control what happens if an element's content is too big for its container. By setting overflow to 'auto' or 'hidden', you can force the container to contain its floated children properly.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *