Front End Programmer Question: Download Questions PDF
How to clear a floated element?
![Front End Developer Interview Answer Front End Developer Interview Question](https://globalguideline.com/public/images/interview/6.png)
Answer:
A floated element is taken out of the document flow. To clear it you would need to do a clear:both or try overflow:auto on the containing div.
Download Front End Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
What is a float? | Tell me why do we need to use W3C standard code? |