Web page making tips: Too much data will not affect page layout

Source: Internet
Author: User
Tags end range

Article Introduction: Web page Making tips: Too much data will not affect the layout of the page.

The rapid development of the Web site, the user interaction experience needs more and more, the Web front-end developers need to consider more, how to control the front end, so that the user data more efficient display.
The goals to be achieved are: the page layout is not affected when there is too much data
Workaround:
1, without affecting the layout of the case , you can choose, the data automatically wrap
A. Set width limits: You can use width values and max-width maximum width values.
B. Content Automatic line: Word-wrap:break-word (Chinese, English sentence, long string of letters can be achieved);
Note the point:Long strings to implement the premise that the width limit must be added directly to the "Text content label."

2, control data beyond a certain range, automatically hidden-through the title value to display all the data information
A. Set width limits: You can use width values and max-width maximum width values.
B. Beyond the scope of the hidden: Overflow:hidden;

3, control data beyond a certain range, automatically hidden, and display ellipsis ...--Display all data information through title value
A. Data not to be changed line: White-space:nowrap;
B. Beyond the scope of the hidden: Overflow:hidden;
C. Show ellipsis: text-overflow:ellipsis;

Work out of the way, can improve their own technology.
Suddenly remembered: The process of learning knowledge:
1, the first is the process of learning basic knowledge
2, followed by repeated practice (no practice, theory is good, can not say that they have learned)
3, finally you can learn, summed up, share to everyone. (Let the one who wants to learn)
Conclusion: Learning is a long-term accumulation, continuous study of a process.

own language organization ability, expression ability is very poor, but hope oneself can improve.
The disadvantage is also obvious: the things you learn, can not express.

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.