当前位置:网站首页>Set the print page style by modifying style
Set the print page style by modifying style
2022-07-06 06:20:00 【mojocube】
HTML We usually need to modify the style in printing , To meet the printing requirements , For example, hide some controls , Modify some styles, etc , We can modify style style , To achieve the desired effect :
<style>
@media print {
.print{display:block !important;}
.box{border-top:0px !important}
.box-header,.box-title,.box-footer,.main-footer{display:none !important}
}
</style>
边栏推荐
- Qt:无法定位程序输入点XXXXX于动态链接库。
- 黑猫带你学UFS协议第4篇:UFS协议栈详解
- Simulation volume leetcode [general] 1061 Arrange the smallest equivalent strings in dictionary order
- Testing of web interface elements
- Play video with Tencent video plug-in in uni app
- 全链路压测:构建三大模型
- B - The Suspects
- Database - current read and snapshot read
- Is the test cycle compressed? Teach you 9 ways to deal with it
- properties文件
猜你喜欢
【MQTT从入门到提高系列 | 01】从0到1快速搭建MQTT测试环境
Coordinatorlayout+nestedscrollview+recyclerview pull up the bottom display is incomplete
Understanding of processes and threads
Digital triangle model acwing 1015 Picking flowers
keil MDK中删除添加到watch1中的变量
MFC on the conversion and display of long string unsigned char and CString
进程和线程的理解
How to extract login cookies when JMeter performs interface testing
私人云盘部署
org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a: 发现了以元素 ‘outgoing‘ 开头的无效内容
随机推荐
联合索引的左匹配原则
【C语言】字符串左旋
oscp raven2靶机渗透过程
E - food chain
[C language] string left rotation
【Postman】测试(Tests)脚本编写和断言详解
Testing and debugging of multithreaded applications
职场进阶指南:大厂人必看书籍推荐
Manhattan distance and Manhattan rectangle - print back font matrix
进程和线程的理解
G - Supermarket
Manhattan distance sum - print diamond
Simulation volume leetcode [general] 1447 Simplest fraction
Simulation volume leetcode [general] 1062 Longest repeating substring
JWT-JSON WEB TOKEN
[postman] collections - run the imported data file of the configuration
MySQL之数据类型
JDBC Requset 对应内容及功能介绍
黑猫带你学eMMC协议第10篇:eMMC读写操作详解(read & write)
F - True Liars (种类并查集+DP)