开发者

HTML table print large column

Window开发者_如何学Cs XP, IE 7

If the data in one of the column in table is more than say 800 bytes, it seems to print partial pages. Previews also appears same (span into multiple partial pages).

What is the best way so that large number of rows with wide columns (fixed width) are printed properly without giving blank or partial page.

Used table with thead and colgroup with width in 14%.


You can always specify the optional media attribute for style/link tag, which indicates the media types you wanna support.

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

http://www.w3schools.com/tags/tag_style.asp


Maybe you could try adding specific css styling for printing:

http://www.webcredible.co.uk/user-friendly-resources/css/print-stylesheet.shtml

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜