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
Find the problem Recently, when I connected to th...
Table of contents 1. Introduction 2. Deployment E...
Table of contents Principle Source code analysis ...
This is a collection of commonly used but easily ...
Recently, the company happened to be doing live b...
XML/HTML CodeCopy content to clipboard < div c...
Table of contents Step 1: Update Packages on Cent...
The mini program collected user personal informat...
/****************** * Advanced character device d...
The specific code of the sliding button made with...
Table of contents Preface Array.isArray construct...
In Vue, we generally have front-end and back-end ...
How to save and exit after editing a file in Linu...
margin:auto; + position: absolute; up, down, left...
Install vsftpd $ sudo apt-get install vsftpd -y S...