By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,684 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,684 IT Pros & Developers. It's quick & easy.

CSS Printing object that does not display on ASPX page

P: n/a
In my web app, I have two CSS - one for display and one for print. A small
copywrite statement needs to print, but does not display on the ASPX page.
The ID of the copywrite statement has DISPLAY: NONE in the Display.CSS and it
does not appear on the page. However, I cannot get this statement to print
even though my Print.CSS has this object defined to print.

I would appreciate suggestions on how to define this in CSS so that the
object does not display on the ASPX page, but prints. I posted a similar
request in a different discussion group, but the links to that post are no
longer working.

Thanks!
Jun 6 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jun 6, 3:50 pm, Lynda <L...@discussions.microsoft.comwrote:
In my web app, I have two CSS - one for display and one for print. A small
copywrite statement needs to print, but does not display on the ASPX page.
The ID of the copywrite statement has DISPLAY: NONE in the Display.CSS and it
does not appear on the page. However, I cannot get this statement to print
even though my Print.CSS has this object defined to print.

I would appreciate suggestions on how to define this in CSS so that the
object does not display on the ASPX page, but prints. I posted a similar
request in a different discussion group, but the links to that post are no
longer working.

Thanks!
<head>

<style type="text/css" media="screen">
..copy {display: none; visibility:hidden}
</style>

<style type="text/css" media="print">
..copy {display: block; visibility:visible}
</style>

</head>
<body>

<div class="copy">(c) 2007</div>

</body>
</html>

Jun 6 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.