Unable to define IE6 font: 13px size is invalid, IE6 automatically displays a larger font solution

Unable to define IE6 font: 13px size is invalid, IE6 automatically displays a larger font solution
A few days ago, when I was adjusting a module of a web page, I set the font size of the page to 13px. Since I was using Chrome browser and IE8 at the time, I didn’t realize that font-size:13px was not working in IE6 and was always automatically displayed as a larger size, which was extremely ugly in terms of performance.

After being puzzled for a long time, I suddenly remembered that I had changed the font before. This didn't happen before I changed it. As expected, this is caused by the fact that I used the Tahoma font. This font cannot display a 13px font size in IE6 browser, and the default font will be used instead. Changing the font solved the problem.

IE6 was created more than 10 years ago and can no longer keep up with the times. However, since China is probably the country that uses IE6 the most in the world, this has not only brought a lot of trouble to Web development. Upgrade quickly, this outdated stuff should have been consigned to history books long ago.

<<:  Use pictures to realize personalized underline of hyperlinks

>>:  Detailed explanation of the misunderstanding between MySQL and Oracle

Recommend

MySQL Database Basics: A Summary of Basic Commands

Table of contents 1. Use help information 2. Crea...

Discussion on horizontal and vertical centering of elements in HTML

When we design a page, we often need to center th...

Markup Language - List

Standardized design solutions - markup languages ...

Example of how to change the domestic source in Ubuntu 18.04

Ubuntu's own source is from China, so the dow...

Detailed explanation of Docker compose orchestration tool

Docker Compose Docker Compose is a tool for defin...

How to customize an EventEmitter in node.js

Table of contents Preface 1. What is 2. How to us...

Detailed explanation of JS variable storage deep copy and shallow copy

Table of contents Variable type and storage space...

vue3+ts+EsLint+Prettier standard code implementation

Table of contents use Use of EsLint Add a profile...

Not a Chinese specialty: Web development under cultural differences

Web design and development is hard work, so don&#...

How to get the real path of the current script in Linux

1. Get the real path of the current script: #!/bi...

Detailed explanation of MySQL transaction isolation level and MVCC

Table of contents Transaction Isolation Level Pro...

Linux bridge method steps to bridge two VirtualBox virtual networks

This article originated from my complaints about ...