Fw: [SMARTY] Print on load
| From: | Jason Sweat | Date: | Mon, 24 Mar 2003 19:50:39 +0000 |
| Subject: | Fw: [SMARTY] Print on load | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8867@lists.php.net to get a copy of this message | ||
From: "John Thorne" <john@jrthorne.com>
> I have a page I would like to print excluding navigation images
(buttons)
> but include a masthead. Is there a tag I can places on specific images
not
> to print
Hello John,
Your questions is a CSS question, not a smarty question.
try defining the style:
@media print {
div#nav {
display: none;
}
}
and then in your template:
<div id="nav">
<img src="nav1.png">
...
</div>
Jason