


How to set the Chrome browser to remove the header and footer when printing_How to hide the header and footer when printing the page
Sep 25, 2025 am 09:54 AM1. Open the web page printing interface, click "More Settings" and uncheck "Header and Footer" to remove automatically added URLs, dates and other information. 2. By adding the CSS style of @media print{@page{margin:0}} to the web page code, the default margins and headers and footers can be cleared. 3. Install third-party printing extensions such as Print Edit, which can edit print content more flexibly and disable the default header and footer.
If you find that the header and footer (such as URL, date, page number, etc.) are automatically added when printing web content using Chrome browser, which affects the printing effect, you can remove these elements by adjusting the printing settings. The following are the specific operation methods.
This article runs: Dell XPS 13, Windows 11
1. Close the header and footer by printing settings
Chrome's built-in printing feature allows users to turn off the display of the header and footer directly in the print preview interface, which is the easiest way to do it without additional tools.
1. Open the web page you want to print, click the menu button in the upper right corner, select Print or use the shortcut key Ctrl P to bring up the printing interface.
2. In the Print Settings panel, find more settings options and click Expand.
3. In the expanded options, uncheck the header and footer check boxes.
4. After confirming that other printing parameters are correct, click the print button to complete the operation.
2. Use CSS style to control the printing content
For users who are familiar with web code, they can accurately control the print output through custom CSS styles to completely hide the header, footer and related margins.
1. Add the following CSS style blocks to the web page HTML code:
@media print { @page { margin: 0; } }
2. Insert this style into the
part of the web page, or add it manually through the developer tool.3. After refreshing the page, enter the print preview again, and the page margin and default header and footer will be cleared.
4. In conjunction with the steps in "Close Header and Footer by Print Settings" to ensure that the header and footer options are in the off state.
3. Install third-party printing enhancement extension
The Chrome App Store provides some extensions that specifically optimize printing capabilities, allowing you to more flexibly manage the layout of print content.
1. Visit the Chrome Online App Store and search for the keyword Print Edit or Clean Printing .
2. Select the extension with a high score and frequent updates to install it.
3. After the installation is completed, click the extension icon to start the Print Editor.
4. Delete unwanted areas in the editing interface and make sure that the browser's default header and footer is disabled when exporting or printing.
The above is the detailed content of How to set the Chrome browser to remove the header and footer when printing_How to hide the header and footer when printing the page. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

ArtGPT
AI image generator for creative art from text prompts.

Stock Market GPT
AI powered investment research for smarter decisions

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Windows 11 can enable the taskbar clock to display seconds through settings, registry, command line, or third-party tools. 1. Turn it on in settings: Go to Personalization → Taskbar → Taskbar Behavior and turn on "Show seconds in system tray clock"; 2. Registry modification: Create a new DWORD value ShowSecondsInSystemClock under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced and set it to 1; 3. Command line execution: Run PowerShell as an administrator and enter regaddHKCU\Softw

First, use the DISM command to install .NET Framework 3.5 from local sources. If it fails, enable the function through the control panel, then repair the system files and reset the update service, check the group policy settings, and finally use third-party tools to assist in the repair.

Screen tearing is caused by the graphics card frame rate being out of sync with the monitor refresh rate, which can be solved by enabling windowed optimization, turning off full-screen optimization, setting vertical sync, calibrating the refresh rate, and turning off automatic HDR.

1. Website location permissions can be managed through Google Chrome settings: First click the three-dot menu to enter "Settings", select "Website Settings" under "Privacy and Security", and adjust the default behavior in "Location Information" to globally prohibit or allow access; 2. For specific websites, click the lock icon in the address bar and enter "Site Settings" to configure location permissions individually; 3. If you need to clear historical authorization records, you can delete website data including location permissions through the "Clear Browsing Data" function and reset all permission settings.

First, change the default playback device through the system sound settings, right-click the volume icon and select Sound Settings, select the target device in the output options and test; then set the default microphone in the recording tab of the sound control panel, right-click the required device and set it as the default; you can also use third-party tools such as AudioSwitch to quickly switch input and output devices; advanced users can use the nircmd command line tool to achieve automatic switching, and use the setdefaultsounddevice command to specify the playback or recording device.

First check and enable the "Allow apps to run in the background" function, then restore dynamic updates through settings, reset problem tiles, configure lock screen application permissions, restart Windows Explorer, and use Group Policy to adjust the start screen behavior if necessary to ensure that the tiles are refreshed normally.

First, check the timeline history in the Notes app to confirm whether the deleted content can be manually restored; secondly, check whether there are any relevant note files remaining in the system recycle bin and try to restore them; if cloud synchronization is turned on, you can obtain the latest data on other devices or the cloud through a Microsoft account; then search for the StickyNotes database file in the local AppData path and use the SQLite tool to extract the content; finally, use professional recovery software to scan the disk to retrieve the unoverwritten note data.

Use the CSS text-shadow property to add a shadow to text, and achieve different effects such as soft shadow, outline or glow by setting the horizontal offset, vertical offset, blur radius and color.
