Home > Web Front-end > HTML Tutorial > 网页上怎么使中英文混编时实现等宽显示?_html/css_WEB-ITnose

网页上怎么使中英文混编时实现等宽显示?_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 08:55:24
Original
1583 people have browsed it

如下代码是不行的

<html><head><style type="text/css">body {font-family: 'Courier New', Courier, monospace;}</style></head><body><xmp class="table">+--------+--------+|发送者  |接收者  |+--------+--------++--------+--------+|sender  |receiver|+--------+--------+</xmp></body></html>
Copy after login


回复讨论(解决方案)








  <br />+--------+--------+  <br />|发送者  |接收者  |  <br />+--------+--------+  <br />   <br />+--------+--------+  <br />|sender  |receiver|  <br />+--------+--------+  <br />
Copy after login

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