当前位置:网站首页>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>
边栏推荐
- 全链路压测:构建三大模型
- An article was uncovered to test the truth of outsourcing companies
- LeetCode 729. 我的日程安排表 I
- MFC dynamically creates dialog boxes and changes the size and position of controls
- Left matching principle of joint index
- 模拟卷Leetcode【普通】1143. 最长公共子序列
- GTSAM中李群的運用
- win10无法操作(删除、剪切)文件
- [postman] the monitors monitoring API can run periodically
- 【Postman】Collections配置运行过程
猜你喜欢
Significance of unit testing
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Delete the variables added to watch1 in keil MDK
10M25DCF484C8G(FPGA) AMY-6M-0002 BGA GPS模块
技术分享 | 常见接口协议解析
E - food chain
曼哈顿距离和-打印菱形
GTSAM中李群的運用
黑猫带你学eMMC协议第10篇:eMMC读写操作详解(read & write)
自定义指定路由上的Gateway过滤器工厂
随机推荐
还在为如何编写Web自动化测试用例而烦恼嘛?资深测试工程师手把手教你Selenium 测试用例编写
The latest 2022 review of "graph classification research"
Réflexions sur la sécurité des données (réimpression)
Testing of web interface elements
Database - current read and snapshot read
模拟卷Leetcode【普通】1414. 和为 K 的最少斐波那契数字数目
Application of Lie group in gtsam
php使用redis实现分布式锁
[wechat applet] build a development tool environment
Simulation volume leetcode [general] 1249 Remove invalid parentheses
Basic knowledge of error
10M25DCF484C8G(FPGA) AMY-6M-0002 BGA GPS模块
Resttemplate and feign realize token transmission
Simulation volume leetcode [general] 1296 Divide an array into a set of consecutive numbers
B - The Suspects
数据库-当前读与快照读
10m25dcf484c8g (FPGA) amy-6m-0002 BGA GPS module
模拟卷Leetcode【普通】1062. 最长重复子串
【C语言】字符串左旋
Simulation volume leetcode [general] 1143 Longest common subsequence