Your location:Tech News>News>Script>Several methods to clear the floating (recommended)

Latest News

Several methods to clear the floating (recommended)



  1.Add a blank similar elements, and then set the element css property clear: both;

  2.{Overflow: hidden; zoom: 1;}

  3.clearfloat {zoom: 1;}

  .clearfloat: after {content: "."; Display: block; visibility: hidden; height: 0; clear: both;}

  This floating above Clear several methods of (recommended) is small series to share the entire contents of everyone, and I hope to give you a reference, I hope you will support script Home.

  Original Address: http: // / fanhaiwang520 / article / details / 8191513

Recommend article

Relate article