如何使我的Pannel适合A4尺寸以便我可以打印。 [英] How Do I Fit My Pannel To A4 Size So That I Can Print .

查看:100
本文介绍了如何使我的Pannel适合A4尺寸以便我可以打印。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要打印我的面板,其中有一些标签蚂蚁文本框,我将所有文本框和面板摸索到一个名为whole_panel

I need to print my panel which have some label ant text box , i groped all text box and panels in to one single panel name called entire_panel

推荐答案

的单个面板名称用于物理打印的样式和布局的覆盖由CSS控制。



在CSS中,您可以为不同的媒体类型设置不同的样式。



默认媒体类型是屏幕,因为大多数网站主要用于在屏幕上显示。但如果没有明确的 print 声明,浏览器最好将您的屏幕页面转换为可打印的格式。



您可以使用CSS中的 @media 声明为不同的媒体类型定义不同的部分。



以下文章将采用通过设置的基础知识。



如何设置打印样式表 [ ^ ]
The override of style and layout for physical printing is controlled by CSS.

Within CSS you can set different styles for different media types.

The default media type is screen as most websites are primarily designed to be displayed on a screen. But without explicit print declarations the browser will do it's best to transform you screen page into a printable format.

You define different sections for different media types using the @media declaration in CSS.

The following article will take you through the basics of setting this up.

How To Set Up A Print Style Sheet[^]


这篇关于如何使我的Pannel适合A4尺寸以便我可以打印。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆