Home > Web Front-end > HTML Tutorial > Ask the experts! How to make spaces in TEXT in HTML have the same width as ordinary characters? _html/css_WEB-ITnose

Ask the experts! How to make spaces in TEXT in HTML have the same width as ordinary characters? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:15:53
Original
1354 people have browsed it

Ask the experts for advice! How to make spaces in TEXT in HTML have the same width as ordinary characters?
Such as:
1. 5 spaces, I want it to be displayed the same as 1

No, there is a font problem, the text is not monospaced. You can use a fixed-width font, but there is no guarantee that the user's computer has that font.

No, there is a font problem, the text is not fixed-width. You can use a fixed-width font, but there is no guarantee that the user's computer has that font

Hey. . Since the content to be displayed was entered later, it may not be easy to handle, so I ended up posting it...

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