Container height collapse after settling float

Source: Internet
Author: User

When using the Float property, we often encounter this problem when the element is set to float, and the height of the parent container collapses, as the following effect

After the French star Henry announced his retirement, the international football giants have paid tribute to him, especially his former Arsenal players have praised him as "legend." FIFA president Sepp Blatter also published a tweet saying: "I wish Henry a hearty blessing." I'm sorry to see a world champion out of the game, but I'm glad you're still very close to football. "After Henry's departure from Arsenal in 2007, Walcott inherited his No. 14th shirt, the 17-year-old winger on the England team said," You've been motivating me throughout my career. " Thanks Thierry Henry, good luck in your new journey. "German star Ursula, who joined Arsenal from Real Madrid last year, has also expressed admiration for his predecessors, and he and his teammates, Ramsey, said Henry was the" legend "of the team and thanked him for his contribution to Arsenal. Spanish star Cesc Fabregas, who has played for Arsenal for four seasons with Henry, posted a photo of the two on Twitter and said: "You are one of the best players I have ever worked with and it's sad to see you end your career." The true legend: Thierry Henry! "The tweet from Arsenal's other legendary star, Ian Lette, is very simple:" The king. "Wright was the biggest scorer in Arsenal history, but his scoring record was broken by Henry. Arsenal's official website also posted a link to the July 2008 fan poll, when Henry was named the greatest player in the club's history. French Football Association president Le Glette, former Manchester United star Gary Neville, England football legend, also have been honored and blessed by social media, praising him as one of the greatest stars in history.

Resolution one: Add a div at the bottom and set the clear property to eliminate the float effect

After the French star Henry announced his retirement, the international football giants have paid tribute to him, especially his former Arsenal players have praised him as "legend." FIFA president Sepp Blatter also published a tweet saying: "I wish Henry a hearty blessing." I'm sorry to see a world champion out of the game, but I'm glad you're still very close to football. "After Henry's departure from Arsenal in 2007, Walcott inherited his No. 14th shirt, the 17-year-old winger on the England team said," You've been motivating me throughout my career. " Thanks Thierry Henry, good luck in your new journey. "German star Ursula, who joined Arsenal from Real Madrid last year, has also expressed admiration for his predecessors, and he and his teammates, Ramsey, said Henry was the" legend "of the team and thanked him for his contribution to Arsenal. Spanish star Cesc Fabregas, who has played for Arsenal for four seasons with Henry, posted a photo of the two on Twitter and said: "You are one of the best players I have ever worked with and it's sad to see you end your career." The true legend: Thierry Henry! "The tweet from Arsenal's other legendary star, Ian Lette, is very simple:" The king. "Wright was the biggest scorer in Arsenal history, but his scoring record was broken by Henry. Arsenal's official website also posted a link to the July 2008 fan poll, when Henry was named the greatest player in the club's history. French Football Association president Le Glette, former Manchester United star Gary Neville, England football legend, also have been honored and blessed by social media, praising him as one of the greatest stars in history.

<div style= "Clear:both" ></div> Resolution II: Overflow:auto

After the French star Henry announced his retirement, the international football giants have paid tribute to him, especially his former Arsenal players have praised him as "legend." FIFA president Sepp Blatter also published a tweet saying: "I wish Henry a hearty blessing." I'm sorry to see a world champion out of the game, but I'm glad you're still very close to football. "After Henry's departure from Arsenal in 2007, Walcott inherited his No. 14th shirt, the 17-year-old winger on the England team said," You've been motivating me throughout my career. " Thanks Thierry Henry, good luck in your new journey. "German star Ursula, who joined Arsenal from Real Madrid last year, has also expressed admiration for his predecessors, and he and his teammates, Ramsey, said Henry was the" legend "of the team and thanked him for his contribution to Arsenal. Spanish star Cesc Fabregas, who has played for Arsenal for four seasons with Henry, posted a photo of the two on Twitter and said: "You are one of the best players I have ever worked with and it's sad to see you end your career." The true legend: Thierry Henry! "The tweet from Arsenal's other legendary star, Ian Lette, is very simple:" The king. "Wright was the biggest scorer in Arsenal history, but his scoring record was broken by Henry. Arsenal's official website also posted a link to the July 2008 fan poll, when Henry was named the greatest player in the club's history. French Football Association president Le Glette, former Manchester United star Gary Neville, England football legend, also have been honored and blessed by social media, praising him as one of the greatest stars in history.

Container height collapse after settling float

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.