|
Casey, Before this gets moved to the WEB400 list... Are you looking to always print this set of divs, or do you want to print set A sometimes and set B at other times? If you always want to print the same thing, the easiest thing to do is change any CSS you are using to have a media="screen" attribute. That will keep you from screwing things up in the browser. Then create another style sheet with a media="print" attribute, and format your page as you wish. You can hide the divs you want to hide, change fonts, sizes, colors, etc. We do this on my site (www.estes-express.com) to create a "printer-friendly" version of most of our pages (getting rid of all of the navigation and extraneous graphics). If you want one set of div's to print when you click one button and a different set of div's to click when you print another button, you can apply the same theory. Make the buttons run javascript that swaps one print stylesheet for another. http://www.howtocreate.co.uk/jslibs/htmlhigh/swapstyle.html Mike E. On 12/19/05, cdudding@xxxxxxxxxxxxxxx <cdudding@xxxxxxxxxxxxxxx> wrote: > does anyone have a js print button (for the web - IE6) that prints all (or > a defined set of ) divs on a page? > > thank you!! >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.