Home  >  Article  >  Web Front-end  >  What to do if css digital line wrapping does not take effect

What to do if css digital line wrapping does not take effect

藏色散人
藏色散人Original
2023-01-30 10:11:333145browse

Solution to the problem that css digital line break does not take effect: 1. Open the corresponding HTML file; 2. Find the label of the digital content; 3. Add the CSS attribute "word-break: break-all" to the label of the digital part ;" can solve the problem of numbers not wrapping.

What to do if css digital line wrapping does not take effect

The operating environment of this tutorial: Windows 10 system, CSS3 version, DELL G3 computer

What should I do if css digital line wrapping does not take effect?

css solves the problem of pure numbers or letters not automatically wrapping

1.css

    word-break: break-all;

Effect:

What to do if css digital line wrapping does not take effect

What to do if css digital line wrapping does not take effect

Recommended study: "css video tutorial"

The above is the detailed content of What to do if css digital line wrapping does not take effect. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn