div css page design--display differences due to browser default font_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:28:34
Original
1222 people have browsed it

When using div css for page design, in order to achieve cross-browser compatibility, in addition to using Hack technology. Another important thing is to unify the fonts used. Because different browsers may use different default fonts, text in different fonts will occupy different page widths, which will eventually lead to differences in the display effects of different browsers.

The following is the default display of numbers in different browsers,

Under firefox

Under IE

Due to the default font, the length of the same text is different.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template