Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Avoid some text from printing in 'Print' menu of browser

Posted on 2008-06-10
1
Medium Priority
?
180 Views
Last Modified: 2013-11-26
I am creating a web page which will have link buttons on it. For printing this web page, I will be using the inbuilt 'Print' option of Internet Explorer. Now I dont want these link buttons's text to be printed. So is there any way I can do that?  
0
Comment
Question by:ShreyaTrivedi
1 Comment
 
LVL 14

Accepted Solution

by:
Dustin Hopkins earned 2000 total points
ID: 21756566
Here is a quick resource...http://aspnetresources.com/articles/printer_friendly.aspx
you could make a css class
<STYLE type="text/css" media="print">
   .hidePrint {     visibility:hidden;   display:none;}
 </STYLE>
then apply that css class to the elements you want to hide.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question