W3C home > Mailing lists > Public > www-html@w3.org > March 1998

Re: Printing tags

From: [Wuming] [Muwing] <nv96wgzg@Katedral.SE>
Date: Wed, 18 Mar 1998 08:16:25 +0100 (MET)
To: Liam Quinn <liam@htmlhelp.com>
cc: h.chu4@ugrad.unimelb.edu.au, www-html@w3.org
Message-ID: <Pine.GSO.3.96.980318081215.1359A-100000@Calcitratus.Katedral.SE>
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/
*
Received on Wednesday, 18 March 1998 02:16:54 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:33 UTC