[thelist] How can I generate a printable page froma any web page (CSS, ASP?) Also - An Idea

Kristina Floyd kristina at kfx-design.co.uk
Thu Apr 12 11:54:18 CDT 2001


Jay,

Use CSS and {display: none;}

I'll use .invisible for my example: Add class="invisible" to anything you don't want to appear

This way you create one style sheet for Printing and however many
others you need for other media  - make sure the link rel bit for
print is always put in last, this allows browsers that can't read them
to ignore it.

eg:
html doc:

<html>
<head>
<title></title>
<link rel="stylesheet" type"text/css" href="screen.css" media="screen">
<link rel="stylesheet" type="text/css" href="print.css" media="print">
</head>
<body>
<img src="imagename.gif" class="invisible">
</body>
</html>


CSS doc:

.invisible {display: none;}


If you have already applied style sheets to this, then copy the
existing style sheet class(s) to print.css and add display: none; to
everything you want to disappear.  This way you won't need to edit
everything again.

eg; <img class="sameasinfirstcss" src="imagename.gif">

sameasinfirstcss {dispaly:none; }

(this is probably the easiest and quickest way)

HTH
Kristina


Thursday, April 12, 2001, 5:26:24 PM, you wrote:

JB> ----problem needing solution----
JB> OK fellow gurus, one of the execs in my office just walked in and asked, "Can anyone visiting our site print any page on the site without all of those annoying graphics?" Is there a way to do
JB> this witout having to create "printer-friendly" pages? I have searched but cannot find a how-to model for this and I have a lot of other stuff on my plate (especially the backend database
JB> redesign where some have not heard the phrase "fully qualified names" much less names that make any sense at all for tables/columns), therefore I am looking for a fairly rapid solution. 

JB> I am in the process of completely redesigning a web site that was in the hands of a marketing department guy until it was decided that the company would hire a web professional. I have settled on
JB> HTML 4.01, CSS1, ASP2.0, and SQL Server 7.0 as the standards, so the answer needs to fit within those parameters if possible. 
JB> ----end problem----

JB> ----begin idea----
JB> Now for the idea. There was discussion on thelist about a user database where we could look up fellow evolters (wouldn't it be nice to have a beer with those who are empathetic?) in our area.
JB> Perhaps find additional bodies/specialties for a particular project? Why don't we, evolters of the list, take advantage of the 'learning' environements set up at evolt to produce this database
JB> our ownselves? (Texas dipthong applied). That way we could pass along knowledge, access the data through a number of interfaces...you see where I am going with this? Anxious to read what you have
JB> to think of this idea.
JB> ----end idea---- 

JB> ----additional problem----
JB> Does anyone know how to send really text/plain from MS Outlook? I encountered problems where I could not send to or reply to 'thelist' because of rejected text/html within what is supposedly a
JB> text/plain message. The header that Outlook actually sends out is a 'multipart' style of header.
JB> ----end additional problem, using another client for now----
JB> Thanks in advance!

JB> Jay Blanchard
JB> Web Engineer & All Around Nice Guy
JB> Thermon Manufacturing
JB> 800.820.HEAT x 327

JB> ___________________________________________________________________________
JB> Visit http://www.visto.com/info, your free web-based communications center.
JB> Visto.com. Life on the Dot.


JB> ---------------------------------------
JB> For unsubscribe and other options, including
JB> the Tip Harvester and archive of TheList go to:
JB> http://lists.evolt.org Workers of the Web, evolt ! 



-- 
Regards,
 Kristina                            


kristina at kfx-design.co.uk
01598 741164






More information about the thelist mailing list