当前位置:网站首页>通过修改style设置打印页样式
通过修改style设置打印页样式
2022-07-06 06:04:00 【mojocube】
HTML打印我们通常需要修改里面的样式,以符合打印需求,例如隐藏某些控件,修改一些样式等,我们可以通过修改style样式,达到想要的效果:
<style>
@media print {
.print{display:block !important;}
.box{border-top:0px !important}
.box-header,.box-title,.box-footer,.main-footer{display:none !important}
}
</style>边栏推荐
- Buuctf-[[gwctf 2019] I have a database (xiaoyute detailed explanation)
- ICLR 2022 spotlight | analog transformer: time series anomaly detection method based on correlation difference
- [postman] collections - run the imported data file of the configuration
- Huawei BFD configuration specification
- How to recover Huawei router's forgotten password
- Grant Yu, build a web page you want from 0
- C language bubble sort
- Network protocol model
- Configuring OSPF GR features for Huawei devices
- How Huawei routers configure static routes
猜你喜欢

C language bubble sort
![[postman] collections configuration running process](/img/09/bcd9fd6379fa724671ffd09278442e.png)
[postman] collections configuration running process

CoordinatorLayout+NestedScrollView+RecyclerView 上拉底部显示不全

Hongliao Technology: how to quickly improve Tiktok store

Fault, error, failure of functional safety

Application of Lie group in gtsam

Analysis report on development trends and investment planning of China's methanol industry from 2022 to 2028

MIT6.s081-2020 Lab2 System Calls

Gtest之TEST宏的用法

【论文代码】SML部分代码阅读
随机推荐
对数据安全的思考(转载)
Implementation of linked list in address book management system
Nodejs realizes the third-party login of Weibo
Basic knowledge of error
多线程应用的测试与调试
[web security] nodejs prototype chain pollution analysis
continue和break的区别与用法
Clock in during winter vacation
MIT6.s081-2020 Lab2 System Calls
Is it difficult for an information system project manager?
Buuctf-[bjdctf2020]zjctf, but so (xiaoyute detailed explanation)
Web服务连接器:Servlet
對數據安全的思考(轉載)
异常检测方法总结
Analysis report on development trends and investment planning of China's methanol industry from 2022 to 2028
Reading notes of effective managers
【Postman】Monitors 监测API可定时周期运行
Understanding of processes and threads
Summary of data sets in intrusion detection field
Testing and debugging of multithreaded applications