推荐学习书目
› 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 · 2479 views
    This topic created in 3157 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
    binux
    Mar 25, 2018 via Android❤️3
    1
    Ctrl-0
    misaka19000
    misaka19000
    Mar 25, 2018
    2
    看一下 content-type
    honmaple
    honmaple
    OP
    Mar 25, 2018
    3
    @binux thank you, 困扰了很久了

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