如何强制打印CSS背景图片? [英] how to force print of CSS background image?
问题描述
我们的样式表中有以下内容,作为页眉:
#homepageheader {left:0px ;顶部:0px;右:0px;身高:183px;
background-image:url(graphics / header-salmoninbucket.jpg);
background-repeat:no-repeat; background-color:#B6C7B6; }
然而,当你打印时,这不会出现。
有没有办法强制打印?
谢谢
Nath。
tradmusic.com写道:
#homepageheader {left:0px;顶部:0px;右:0px;身高:183px;
background-image:url(graphics / header-salmoninbucket.jpg);
background-repeat:no-repeat; background-color:#B6C7B6;然而,当你打印时,这不会出现。
在浏览器中启用背景打印。
-
Johannes Koch
in te domine speravi;非永久性的东西。
(Te Deum,4美分。)
无需这样做! :o)
这是不可能的吗?
Nath。
" Johannes科赫" < KO ** @ w3development.de>在消息中写道
news:44 *********************** @ authen.yellow.readf reenews.net ... < blockquote class =post_quotes> tradmusic.com写道:
#homepageheader {left:0px;顶部:0px;右:0px;身高:183px;
background-image:url(graphics / header-salmoninbucket.jpg);
background-repeat:no-repeat; background-color:#B6C7B6;然而,当你打印时,这不会出现。
在浏览器中启用背景打印。
-
在te domine speravi;非永久性的东西。
(Te Deum,4分。)
" tradmusic.com" < SA *** @ NOSHPAMtradmusic.com>新闻中写道:dumjin
Hi,
We have the following in our stylesheet, which acts as a page header:
#homepageheader { left: 0px; top: 0px; right: 0px; height: 183px;
background-image: url(graphics/header-salmoninbucket.jpg);
background-repeat: no-repeat; background-color: #B6C7B6; }
When you print, however, this doesn''t appear.
Is there any way to force the print?
Thanks
Nath.
tradmusic.com wrote:
#homepageheader { left: 0px; top: 0px; right: 0px; height: 183px;
background-image: url(graphics/header-salmoninbucket.jpg);
background-repeat: no-repeat; background-color: #B6C7B6; }
When you print, however, this doesn''t appear.
Enable printing of backgrounds in your browser.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Without having to do that! :o)
Is it just not possible?
Nath.
"Johannes Koch" <ko**@w3development.de> wrote in message
news:44***********************@authen.yellow.readf reenews.net...tradmusic.com wrote:#homepageheader { left: 0px; top: 0px; right: 0px; height: 183px;
background-image: url(graphics/header-salmoninbucket.jpg);
background-repeat: no-repeat; background-color: #B6C7B6; }
When you print, however, this doesn''t appear.
Enable printing of backgrounds in your browser.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
"tradmusic.com" <sa***@NOSHPAMtradmusic.com> wrote in news:dumjin
这篇关于如何强制打印CSS背景图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!