当前位置:网站首页>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>
边栏推荐
猜你喜欢
[C language] string left rotation
Application of Lie group in gtsam
技术分享 | 常见接口协议解析
[postman] collections configuration running process
进程和线程的理解
Career advancement Guide: recommended books for people in big factories
JWT-JSON WEB TOKEN
properties文件
keil MDK中删除添加到watch1中的变量
Delete the variables added to watch1 in keil MDK
随机推荐
浅谈专项测试之弱网络测试
leaflet 地图
MFC 动态创建的对话框及改变控件的大小和位置
[C language] string left rotation
Réflexions sur la sécurité des données (réimpression)
【Postman】动态变量(也称Mock函数)
php使用redis实现分布式锁
黑猫带你学UFS协议第8篇:UFS初始化详解(Boot Operation)
【eolink】PC客户端安装
10m25dcf484c8g (FPGA) amy-6m-0002 BGA GPS module
Is the test cycle compressed? Teach you 9 ways to deal with it
LeetCode 729. 我的日程安排表 I
G - Supermarket
sourceInsight中文乱码
10M25DCF484C8G(FPGA) AMY-6M-0002 BGA GPS模块
全程实现单点登录功能和请求被取消报错“cancelToken“ of undefined的解决方法
LeetCode 1200. 最小绝对差
PAT(乙级)2022年夏季考试
【C语言】qsort函数
MFC关于长字符串unsigned char与CString转换及显示问题