I have a form that I created in Frontpage and I would like to have it printed. But I would like to have it printed in a text format, i.e. without the header graphics and etc. Is there an easy way to do this?
@iamlucky13Aug 10.2004 — #The old way is to create a clone of the page but just leave out that stuff and create a link to it. A better way is to use an alternate style sheet, as discussed below.
[URL=http://www.alistapart.com/articles/goingtoprint/]A List Apart article [/URL]
If you only have experience in FrontPage, the article will involve some stuff you're probably not familiar with (CSS).
@stomlinauthorAug 10.2004 — #Okay, looking at the css information on the link you sent was helpful. Now where do I put that information? Does it go somewhere in the html itself??
@iamlucky13Aug 10.2004 — #You can put in the head of your html like this: [CODE]<html> <head> <title>Page Title</title> </head> <style type="text/css" media="print"> .noprint { display: none; } </style> </head> rest of html...[/CODE] Setting media to print tells the browser to only use that style when outputting to the printer. ".noprint" means the property affects any html element where the class="noprint". Example [CODE]<img src="image.jpg" class="noprint">[/CODE]
A little more complex but good for large web sites is an external style sheet. Replace the style tags and everything in between with [CODE]<link rel="stylesheet" type="text/css" media="print" href="stylesheet.css">[/CODE] Then in a seperate file named stylesheet.css, you write [CODE].noprint { display:none; }[/CODE] and you can define other things in the file as well, like font colors, borders, backgrounds, etc.
[URL=http://www.htmlgoodies.com/tutors/ie_style.html]Here's a good introduction to CSS[/URL]
[URL=http://www.htmlgoodies.com/beyond/css.html]Here's more information on stylesheets by the same author[/URL]