PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

CSS Printing object that does not display on ASPX page

 
 
=?Utf-8?B?THluZGE=?=
Guest
Posts: n/a
 
      6th Jun 2007
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!
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      6th Jun 2007
On Jun 6, 3:50 pm, Lynda <L...@discussions.microsoft.com> wrote:
> 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>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help embedding object within aspx page teejayem@gmail.com Microsoft ASP .NET 1 25th Oct 2007 02:33 PM
Loading an .aspx-page into a System.Web.UI.Page object? Martin P Microsoft ASP .NET 0 14th Nov 2006 08:26 PM
<object> usage in ASPX page after IE update di.popa@gmail.com Microsoft Dot NET Framework 1 26th Apr 2006 01:08 AM
Calling a class object in my aspx page without using codebehind Gerald Microsoft ASP .NET 2 21st Oct 2005 02:27 PM
ASPX page does not receive any cookies in Request object when called using HttpWebRequest object. =?Utf-8?B?Qmh1cGVzaCBTYWluaQ==?= Microsoft C# .NET 1 26th May 2004 09:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:07 AM.