Close sidebar

How do you clear a floated element?

.

  • Rinku
  • 375 Views
  • 6 Answers
  • Using Clear:both, there are others methods of clear are there:.br /w3schools


  • write clear:both; in css


  • using clear both can solve the isuue but if u dont have access to the html source to put the clear both then u can use the float:left option itslef to clear a floated element ..


  • you can use clear:both or you can find the element and based on element you can remove that style.


  • clear:both


Dicussion/Forum
html
Ask New Question