Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/85.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在IE/Chrome中打印平铺背景图像_Html_Css_Printing - Fatal编程技术网

Html 在IE/Chrome中打印平铺背景图像

Html 在IE/Chrome中打印平铺背景图像,html,css,printing,Html,Css,Printing,我在我的网页上有一种swoosh风格,我使用一个平铺的图像来制作垂直和水平的线条,这些线条沿着页面向下和穿过页面。当页面显示在浏览器中时,它看起来很好,但是,当打印垂直和水平线图像时,不会平铺,在页面上留下空白间隙。下面是我用来创建swoosh左手部分的代码 <td style="width:100%;" colspan="2"> <table border=0 cellpadding="0" cellspacing="0">

我在我的网页上有一种swoosh风格,我使用一个平铺的图像来制作垂直和水平的线条,这些线条沿着页面向下和穿过页面。当页面显示在浏览器中时,它看起来很好,但是,当打印垂直和水平线图像时,不会平铺,在页面上留下空白间隙。下面是我用来创建swoosh左手部分的代码

        <td style="width:100%;" colspan="2">
        <table border=0 cellpadding="0" cellspacing="0">
            <tr>
                <td style="width:170px;"><img src="CurveBottom.png" /></td>
                <td style="width:530px;background-image:url('HorizontalLine.png');">&nbsp;</td>
            </tr>

        </table>


    </td>


使用背景图像的布局的表格?这真的是2012年吗?你有更好的建议吗?有没有更好的办法?