Re: Printing tags

[Wuming] [Muwing] (nv96wgzg@Katedral.SE)
Wed, 18 Mar 1998 08:16:25 +0100 (MET)


Date: Wed, 18 Mar 1998 08:16:25 +0100 (MET)
From: "[Wuming] [Muwing]" <nv96wgzg@Katedral.SE>
To: Liam Quinn <liam@htmlhelp.com>
cc: h.chu4@ugrad.unimelb.edu.au, www-html@w3.org
In-Reply-To: <3.0.5.32.19980227225947.009a2180@undergrad.math.uwaterloo.ca>
Message-ID: <Pine.GSO.3.96.980318081215.1359A-100000@Calcitratus.Katedral.SE>
Subject: Re: Printing tags

A old question...
How work that CSS2 tags?

<html>
<head>
<style>
@media print {
   .navbar {display: none}
</style>
</head>
<body>
<p>
I want "View Page Source" don't show out this.
</p>
</body></html>

How do this CSS work? I am sorry I don't know CSS very much! :(

/Wuming

*It's already possible (though not supported by browsers) with CSS2 [1]:
*
*@media print {
*  .navbar { display: none }
*}
*
*[1] http://www.w3.org/TR/WD-CSS2/
*
*--
*Liam Quinn
*Web Design Group            Enhanced Designs, Web Site Development
*http://www.htmlhelp.com/    http://enhanced-designs.com/
*