Skip to content

[html] 第363天 打印页面时怎样自定义打印页眉页脚或者去掉眉页脚? #2232

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第363天 打印页面时怎样自定义打印页眉页脚或者去掉眉页脚?

我也要出题

Activity

zhaofeipeter

zhaofeipeter commented on Jul 26, 2020

@zhaofeipeter

<style type="text/css" media="print">
@page
{
size: auto; /* auto is the initial value /
margin: 0mm; /
this affects the margin in the printer settings */
}
</style>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@zhaofeipeter

        Issue actions

          [html] 第363天 打印页面时怎样自定义打印页眉页脚或者去掉眉页脚? · Issue #2232 · haizlin/fe-interview