Home > Article > Web Front-end > How come there are spaces in the image within a fixed-width DIV? ? _html/css_WEB-ITnose
Why does this happen? Is there a way to align the top and bottom?
Have you used CSS control?
Are you using CSS controls?
Don’t know how to control it? Can you give me a hint?
Are there letters/numbers/symbols in each line?
English is 1 byte, Chinese is 2 bytes, the lengths are different.
<html><body><div style="width: 100px; border: 1px solid #CCC;"><p style="text-align: justify; text-justify: inder-ideograph;">使用text-align属性对文本对齐方式进行规定</p></div></body></html>
I also tried to use div instead of table, But it’s not easy to find