CSS settings do not change rows:
Overflow: hidden hide
White-space: normal default
Pre line breaks and other blank characters will be protected
Nowrap forces all text to be displayed in the same row until the text ends or encounters a br object
========================================================== ====
Set forced line feed
Word-break:
Normal. line breaks are allowed according to the text rules of the Asian and non-Asian languages.
Break-all: this behavior is the same as that of the Asian language normal. It also allows non-Asian text lines to be broken in any word. This value is applicable to Asian texts that contain non-Asian texts.
Keep-all: same as normal in all non-Asian languages. Chinese, Korean, and Japanese cannot be disconnected. Suitable for non-Asian texts that contain a small number of Asian texts
======================================
And
Between height Solutions
1. Set line-height, for example, view plaincopy to clipboardprint?
- XX {font-size: 1px; float: left; width: 100%; height: 1px; line-height: 1px}
XX {font-size: 1px; float: left; width: 100%; height: 1px; line-height: 1px} <br/>
2. Set overflow, for example:
View plaincopy to clipboardprint?
- XX {overflow: hidden; height: 1px}