In some page development, in addition to your own operations, the situations that cause line breaks generally include:
The content length in the Ex 1.td tag is too long, causing line breaks;
The content in the Ex 2.div tag (or other tags) contains text and pictures cause line breaks;
Solution:
For the first example, use the
For the second example, use the CSS style white-space: nowrap; can prevent pictures and content from wrapping. (After testing by myself, it is also possible to use the
More HTML tips: td, content in div tags does not wrap, related articles Please pay attention to PHP Chinese website!