Resolve CSS3 Multi-column style column-width layout when content is truncated, garbled

Source: Internet
Author: User
Tags truncated
First, the question

Using the CSS3column-width: auto | <length>属性时,出现排列的内容被截断,出现错位的现象。

Second, the reason

You need to set the height of the picture container, or it will collapse.

Third, the solution

Add to the containers that need to be broken down height:100%;overflow: auto; .

Resolve CSS3 Multi-column style column-width layout when content is truncated, garbled

Resolve CSS3 Multi-column style column-width layout when content is truncated, garbled

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.