How to make spaces have the same width in IE and FF?

How to make spaces have the same width in IE and FF?

body{font-size:12px; font-family:"宋体";}

Write the font size and font in the body to make it unified.

Set font: font-family: Songti, Arial

This is because the default fonts of FF and IE are different.

In FF the default font should be Arial

In IE

font-family: Songti If it is Songti, the width of a space is about the width of a Chinese character "宽"

font-family:Arial If it is Arial, the width of a space is about the width of a character "k"

<<:  Detailed examples of float usage in HTML/CSS

>>:  Usage scenarios and source code analysis of Vue advanced components functional components

Recommend

Object-Oriented Programming with XHTML and CSS

<br />If only XHTML and CSS were object-orie...

Detailed steps to install MySQL 5.6 X64 version under Linux

environment: 1. CentOS6.5 X64 2.mysql-5.6.34-linu...

MySQL date and time addition and subtraction sample code

Table of contents 1.MySQL adds or subtracts a tim...

An article to give you a deep understanding of Mysql triggers

Table of contents 1. When inserting or modifying ...

Docker installs Redis and introduces the visual client for operation

1 Introduction Redis is a high-performance NoSQL ...

Use CSS variables to achieve cool and amazing floating effects

Recently, I found a fun hover animation from the ...

The process of installing MySQL 8.0.26 on CentOS7

1. First, download the corresponding database fro...

Simple implementation of html hiding scroll bar

1. HTML tags with attributes XML/HTML CodeCopy co...

Detailed explanation of how to introduce custom fonts (font-face) in CSS

Why did I use this? It all started with the makin...

Detailed explanation of JavaScript stack and copy

Table of contents 1. Definition of stack 2. JS st...

isPrototypeOf Function in JavaScript

Table of contents 1. isPrototypeOf() Example 1, O...

Detailed explanation of replace into example in mysql

Detailed explanation of replace into example in m...

Detailed explanation of Vue's simple store

The simplest application of store in Vue is globa...