I struggled with this for a long time, and after searching, I found that someone really solved this problem. When using UL and LI to display text, the IE browser does not force the LI text length to start on one line by default. As a result, if the text exceeds the width set by UL, it will wrap at the existing position, causing display problems. Solution: Copy code The code is as follows:ul li{ white-space:nowrap; } Look carefully, it is li that sets this attribute, not ul. |
<<: CSS3 to achieve dynamic background gradient effect
>>: Solve the problem of using less in Vue
Table of contents 1. Commonly used string functio...
It is very common to see images and text displaye...
Table of contents 1. Dockerfile 2. pom configurat...
Virtual machines are very convenient testing soft...
This article shares the installation and configur...
View Database show databases; Create a database c...
The operating environment of this tutorial: Windo...
About Docker Swarm Docker Swarm consists of two p...
I encountered several problems when installing My...
Table of contents 1. Flink Overview 1.1 Basic Int...
I was recently working on a comment feature that ...
Implementation of regular backup of Mysql databas...
I've been using Bootstrap to develop a websit...
Table of contents Scope Global Scope Function Sco...
Assumption: The stored procedure is executed ever...