Front End Programmer Question:

How to clear a floated element?

Front End Developer Interview Question
Front End Developer Interview Question

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.


Previous QuestionNext Question
What is a float?Tell me why do we need to use W3C standard code?