python(html页面大小变形)

<div class= "pg-header">
            <div style="width: 980px">
                头部数据
            </div>
        </div>
        <div class= "pg-body">
            <div style="width: 980px">
                中间数据
            </div>
        </div>
        <div class= "pg-footer">
            <div style="width: 980px">
                底部数据
            </div>
        </div>