....When I say ''form'' I''m talking about a conventional paper version, asopposed to a <form>.I''m building a web-based application which needs to be able to createInvoices/Advice Notes/Order Acknowledgements etc... The application itselfhas a largely fluid layout, but for these printed documents I need to makethem fixed, such that the printed layout is consistent. That is, they needto look consistent on an A4 page.Its worth noting that the printable version will be displayed in a page, butonly to be immediately printed. That is, there doesnt specifically need tobe a screen stylesheet, since the user will only print the page, rather thatlook at it on-screen.Before I start bodging my own solution, I thought I''d better do somehomework on what the best approach to take - hence I''m asking you guys!I''ve googled for help, and there is plenty out there, but I''m still sortingthe wheat from the chaff. I''m also finding a few annoying things like thatthere is a great @Page directive in CSS, which is all but unsupported!Most of these forms/documents are tabular by nature, but I''m trying toresist resorting to a tables-within-tables layout as yet.How best do I control this layout? Do I specify a bounding block of a fixedwidth? Do I use px/pt/cm/em/etc widths? How do I make sure that the contentwraps rather than stretches it''s container?It''s hard to ask more specific questions because I don''t know what I don''tknow!Anyway, thanks in advance...Chris-- cj*******@REMOVEMEyahoo.co.uk[remove the obvious bits] 解决方案 "CJM" <cj******@REMOVEMEyahoo.co.uk> wrote in messagenews:3a*************@individual.net... ...When I say ''form'' I''m talking about a conventional paper version, as opposed to a <form>. I''m building a web-based application which needs to be able to create Invoices/Advice Notes/Order Acknowledgements etc... The application itself has a largely fluid layout, but for these printed documents I need to make them fixed, such that the printed layout is consistent. That is, they need to look consistent on an A4 page. Its worth noting that the printable version will be displayed in a page,but only to be immediately printed. That is, there doesnt specifically need to be a screen stylesheet, since the user will only print the page, ratherthat look at it on-screen. Before I start bodging my own solution, I thought I''d better do some homework on what the best approach to take - hence I''m asking you guys! I''ve googled for help, and there is plenty out there, but I''m stillsorting the wheat from the chaff. I''m also finding a few annoying things like that there is a great @Page directive in CSS, which is all but unsupported! Most of these forms/documents are tabular by nature, but I''m trying to resist resorting to a tables-within-tables layout as yet. How best do I control this layout? Do I specify a bounding block of afixed width? Do I use px/pt/cm/em/etc widths? How do I make sure that thecontent wraps rather than stretches it''s container? It''s hard to ask more specific questions because I don''t know what I don''t know! Anyway, thanks in advance... Chris -- cj*******@REMOVEMEyahoo.co.uk [remove the obvious bits]Thank heavens I got here before the carnage began as I predicted in my postto you in c.i.w.a.h. :-)For printed documents I recommend PDF. With PDF you can be certain yourdocument will look exactly as you expect.Good Luck,mePS: Please try not to be too offended by the crazies in here who will likely(surely?) attack you for wanting to use fixed fonts and non-fluid layout.me wrote: Thank heavens I got here before the carnage began as I predicted in my post to you in c.i.w.a.h. :-) For printed documents I recommend PDF. With PDF you can be certain your document will look exactly as you expect.For a printed form, PDF is a good option. So would a print style sheet. PS: Please try not to be too offended by the crazies in here who will likely (surely?) attack you for wanting to use fixed fonts and non-fluid layout.We are not crazy.---bts-This space intentionally left blank.In article <11*************@corp.supernews.com>, anonymous@_.com enlightenedus with... PS: Please try not to be too offended by the crazies in here who will likely (surely?) attack you for wanting to use fixed fonts and non-fluid layout.And you say people ridicule YOU.Pot...kettle.----~kaeli~Murphy''s Law #2030: If at first you don''t succeed, destroyall evidence that you tried. http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace 这篇关于为可打印的“表单”设置样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!