Home  >  Article  >  Web Front-end  >  How to make spaces have the same width in IE and FF? _HTML/Xhtml_Web page production

How to make spaces have the same width in IE and FF? _HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:41:141716browse

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

Indicate the font size and font in the body to unify them.

Set font:font-family: 宋体,Arial

This is because the default fonts of FF and Ie are different

The default font in FF should be Arial

IE in

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

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn