[html-formfu] How to Display a printable copy of the form
Ascii King
tech at swattermatter.com
Wed Oct 14 13:30:00 GMT 2009
Charlie Garrison wrote:
> You should be able to do that with a media=print style sheet:
>
> <link rel="stylesheet"
> type="text/css"
> media="print" href="print.css" />
>
> Example from <http://www.alistapart.com/articles/goingtoprint/>.
>
> You can change the border, background, display style, etc. for input
> elements on the form. Radio buttons may pose more of a challenge. It
> means you don't need a different form config for printing, you just
> need a different style sheet (which can be used for all forms, dry).
>
> Using extra classes, it also is easy to hide things like submit
> buttons; eg. create a .noprint class {display:none} and assign it to
> all non-printing elements.
>
> Charlie
>
That looks perfect. Thank you.
More information about the HTML-FormFu
mailing list