推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
honmaple
V2EX  ›  Python

Python server 会使得 html 字体变小,这是什么情况?

  •  
  •   honmaple · Mar 25, 2018 · 2366 views
    This topic created in 3110 days ago, the information mentioned may be changed or developed.

    相同的 html

    <!doctype html>
    <html lang="en">
      <head>
        <meta charset="UTF-8"/>
        <title>Document</title>
      </head>
      <body>
        <h1 style="font-size:20px;">你你好你好你好你好你好你好你好好</h1>
      </body>
    </html>
    

    直接只用浏览器访问文件

    使用 python -m http.server --bind 127.0.0.1 后访问

    这是什么情况?

    binux
        1
    binux  
       Mar 25, 2018 via Android   ❤️ 3
    Ctrl-0
    misaka19000
        2
    misaka19000  
       Mar 25, 2018
    看一下 content-type
    honmaple
        3
    honmaple  
    OP
       Mar 25, 2018
    @binux thank you, 困扰了很久了

    @misaka19000 content-type 没有什么特别的信息
    learnshare
        4
    learnshare  
       Mar 25, 2018
    @binux 可笑一整年
    cnnblike
        5
    cnnblike  
       Mar 25, 2018
    看了 1L 的回答,绝了,真的可以拿来笑一整年
    ericls
        6
    ericls  
       Mar 25, 2018 via iPhone
    @binux 哈哈哈哈哈
    suit
        7
    suit  
       Mar 25, 2018
    chrome 下按 ctrl+0 还是会放大,检查下这个
    ![]( )
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4990 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 67ms · UTC 07:53 · PVG 15:53 · LAX 00:53 · JFK 03:53
    ♥ Do have faith in what you're doing.