Posted by brucie on 11/05/05 08:39
In post <news:6e8om11q9phs6kemtuhktf9tin0khamp23@4ax.com>,
Ed Jay said:
> I recall seeing where using CSS one can print a browser page without
> printing the links. How is it done?
using print specific css eg:
css just for the screen:
<link rel="stylesheet" href="x.css" type="text/css" media="screen">
css just for the printer:
<link rel="stylesheet" href="y.css" type="text/css" media="print">
or css for the screen and printer:
<link rel="stylesheet" href="z.css" type="text/css" media="screen,print">
or using @media rules within css. e.g display blue on red links on screen
but not to display them when printed:
/* normal css for links */
a{background:red;color:blue;}
/* print specific css for links */
@media print{
a{display:none;}
}
supply a link to a "print version" of your page or warn the visitor that
what they see may not be what is printed. its really annoying when you
expect one thing to be printed but get something else.
--
l i t t l e v o i c e s
Navigation:
[Reply to this message]
|