I ve got pagebreaks, working for publication media with a Immediate page-break-hereafter/code. 我利用这些报告将多份报告单独放在单项印刷工作中。 不幸的是,当印刷工作翻一番时,页数的中断可能使印刷商开始上一份报告。
是否有办法强迫一页甚至一页? 或者,如果发现某部分内容的哪页数?
I ve got pagebreaks, working for publication media with a Immediate page-break-hereafter/code. 我利用这些报告将多份报告单独放在单项印刷工作中。 不幸的是,当印刷工作翻一番时,页数的中断可能使印刷商开始上一份报告。
是否有办法强迫一页甚至一页? 或者,如果发现某部分内容的哪页数?
社会保障局没有这方面的内在功能。
An idea:
You could maybe try wrapping each of your reports in a div and then using something like jquery to work out the height of the div to figure out whether it ends on an odd page.
如果在奇数页上结束,那就向下页注入了一段空洞的 d子。
EDIT
Obviously this will only really work if you know the dpi at which your page prints on your target printer. There s no magic answer that will just work for all scenarios.
You d need to experiment a bit here with your standard printer settings to see what works for you/your client(s). If there are multiple scenarios, you could let them select from a drop-down.
因此,你利用 j子检查碎块的顶峰,对照页的顶峰检查,看干.是否在奇数或甚至一页上结束,那么如果报告在奇数页上结束,就会放下页。
如果用户将使用替代印刷方法,那么你也需要事先知道,因为你只需要做这样做才能进行替代印刷。
标准中具有中心功能。 你们已经走上正轨。 使用:
<div style="page-break-after: right">
-- your content --
</div>
问题目前是支持这一问题的唯一主要浏览器。 操作有自己的精炼问题,但可能为你的工作。
I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....
I have a div <div id="masterdiv"> which has several child <div>s. Example: <div id="masterdiv"> <div id="childdiv1" /> <div id="childdiv2" /> <div id="...
I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...
<form><input type="file" name="first" onchange="jsFunction(2);"> <input type="file" name="second" onchange="jsFunction(3);"</form> Possible to pass just numbers to the js ...
So I ve got a menu with a hover/selected state and it loads fine in IE6/IE7. However when I scroll down the page and put the element outside of the viewport and then back in I get a broken image! I ...
I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...
Is it possible to reload a form after file-input change? I have a form where the user can chose an image for upload. I also have a php script which displays that image resized. I only wonder if it ...
I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!