html - 背景图像缺失 window.print

标签 html asp.net css background-image printf

背景 - 当我调用 window.print 时图像丢失。请帮我解决这个问题。

       <table  border="0" cellpadding="0" cellspacing="0" style="width:100%;                      background-image: url('Images/BgFaX.png');
        background-repeat: repeat" align="center">
        <tr>
            <td style="height: 10px">
            </td>
        </tr>
    <Tr>
              <td>
                  sample testing
             </td>
     <tr>
   </table>

最佳答案

默认情况下不打印背景图像和颜色。请引用:http://support.microsoft.com/kb/296326 .您必须启用设置

关于html - 背景图像缺失 window.print,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20065326/

相关文章:

asp.net - TransactionScope 是否需要开启 DTC 服务?

c# - SignalR 广播消息在停止/启动后重复

html - 文本向右对齐,向左溢出

jquery - 向现有类添加额外的 css

html - 表格不继承宽度

javascript - 我的表格复选框中的悬停效果

html - 使用 CSS 网格使多个不同宽度的列换行?

javascript - HTML5 Canvas 覆盖在网页之上?

html - &lt;input type ="number"/> with a custom step "n"but allow decimals

javascript - 从 asp.net 代码隐藏关闭 Bootstrap 模式