Home >Web Front-end >HTML Tutorial >网页上怎么使中英文混编时实现等宽显示?_html/css_WEB-ITnose
如下代码是不行的
<html><head><style type="text/css">body {font-family: 'Courier New', Courier, monospace;}</style></head><body><xmp class="table">+--------+--------+|发送者 |接收者 |+--------+--------++--------+--------+|sender |receiver|+--------+--------+</xmp></body></html>
<br>+--------+--------+ <br>|发送者 |接收者 | <br>+--------+--------+ <br> <br>+--------+--------+ <br>|sender |receiver| <br>+--------+--------+ <br>
设置字体格式为等宽
怎么不行?截个图看看
禁止网页设置字体