confused re media =" print" /打印页面? [英] confused re media="print" / printing pages?

查看:56
本文介绍了confused re media =" print" /打印页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我想用


1.大字体的网页

2 。用于打印字体较小的网页


我正在使用


< link rel =" stylesheet"媒体= QUOT;打印" type =" text / css"

href =" assets / style / print.css">


虽然文字正好穿过浏览器(IE 6)屏幕和

字体大小小于普通屏幕上的字体大小,打印

out仍然是大小相同的大小字体?? !!


我哪里错了?


干杯


Geoff

Hello,

I am trying to have

1. web pages in large font
2. web pages with smaller font for printing

I am using

<link rel="stylesheet" media="print" type="text/css"
href="assets/style/print.css">

but although the text goes right across the browser (IE 6) screen and
the font size is smaller than the that on the normal screen, the print
out is still the same size as if it were the larger font ??!!

Where am I going wrong?

Cheers

Geoff

推荐答案

Geoff Cox写道:
Geoff Cox wrote:
< link rel =" stylesheet"媒体= QUOT;打印" type =" text / css"
href =" assets / style / print.css">

虽然文字正好穿过浏览器(IE 6)屏幕并且<字体大小小于普通屏幕上的字体大小,打印
输出的大小仍然与大字体相同?? !!
<link rel="stylesheet" media="print" type="text/css"
href="assets/style/print.css">

but although the text goes right across the browser (IE 6) screen and
the font size is smaller than the that on the normal screen, the print
out is still the same size as if it were the larger font ??!!



你有一个我们可以看到的链接吗?


一个猜测 - 确保你的打印样式表出现在代码中正常的

样式表下面,否则你的打印字体大小将更改为

反映标准样式表中的那些。媒体位说(实际上)

''这些位仅用于打印输出'',并将其留下来说(在

效果中)''这些位适用一切'' - 它会覆盖设置

专门用于打印。


问候,


Pete。


Have you got a link we can see?

One guess - make sure that your print stylesheet appears below the normal
stylesheet in the code, otherwise your print font sizes will be changed to
reflect those in the standard stylesheet. The media bit says (in effect)
''These bits are for printed output only'', and leaving it out says (in
effect) ''These bits apply to everything'' - which would override settings
made specifically for print.

Regards,

Pete.


2003年12月24日星期三10:01:21 -0000,Peter Connolly

< no ***** ********@nospamrequired.com>写道:
On Wed, 24 Dec 2003 10:01:21 -0000, "Peter Connolly"
<no*************@nospamrequired.com> wrote:
一猜 - 确保您的打印样式表出现在代码中的正常
样式表下方,否则您的打印字体大小将更改为
反映那些在标准样式表中。媒体位说(实际上)
''这些位仅用于打印输出'',并将其留下来说(在
效果中)''这些位适用于所有'' - 这将覆盖设置
专门用于打印。


彼得,


感谢您提供的信息,我不知道。顺便说一句,你有什么好的信息来源,使用CSS在页面上创建3列?


现在一切都好了。我的原始

print.css文件一定存在问题,因为当我将其限制为定义para和

标题时,打印就可以了!


干杯


Geoff


问候,

Pete。
One guess - make sure that your print stylesheet appears below the normal
stylesheet in the code, otherwise your print font sizes will be changed to
reflect those in the standard stylesheet. The media bit says (in effect)
''These bits are for printed output only'', and leaving it out says (in
effect) ''These bits apply to everything'' - which would override settings
made specifically for print.
Peter,

Thanks for that info, I didn''t know that. By the way do you have any
good sources of info re using css to create 3 columns on a page?

All seems well now. There must have been a problem in my original
print.css file since when I restricted it to defining paras and
headers, the printing is OK !

Cheers

Geoff


Regards,

Pete.






" Geoff Cox" < GE ******* @ dontspamblueyonder.co.uk>在消息中写道

news:tc ******************************** @ 4ax.com ...
"Geoff Cox" <ge*******@dontspamblueyonder.co.uk> wrote in message
news:tc********************************@4ax.com...
2003年12月24日星期三10:01:21 -0000,Peter Connolly
< no ************* @ nospamrequired.com>写道:
感谢您的信息,我不知道。顺便说一句,你有什么好的信息来源,使用css在页面上创建3列?
On Wed, 24 Dec 2003 10:01:21 -0000, "Peter Connolly"
<no*************@nospamrequired.com> wrote:
Thanks for that info, I didn''t know that. By the way do you have any
good sources of info re using css to create 3 columns on a page?



http://bluerobot.com/web/layouts/

干杯!

Peter Foti



http://bluerobot.com/web/layouts/

Cheers!
Peter Foti


这篇关于confused re media =&quot; print&quot; /打印页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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