473,388 Members | 1,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Remove underline from hyperlink in Print

160 100+
Hi
If underline under hyperlink is there on web. Then is it possible that these underlines not shown when we take a print of same page. Please let me know if i am not clear in my question.Thanks
Jan 3 '11 #1

✓ answered by Dormilich

printing css is a stylesheet you declare for the print layout through the media keyword. e.g.
Expand|Select|Wrap|Line Numbers
  1. <link rel="stylesheet" type="text/css" href="…" media="print">

4 8420
Dormilich
8,658 Expert Mod 8TB
you just need to remove the line in the printing css. something along a { text-decoration: none; }
Jan 4 '11 #2
waqasahmed996
160 100+
can i ask what is meaning of printing css. it is something that will not effect when website will be opened in browser but has effect of print that page? Please can you explain little more.Thanks for your reply
Jan 4 '11 #3
Dormilich
8,658 Expert Mod 8TB
printing css is a stylesheet you declare for the print layout through the media keyword. e.g.
Expand|Select|Wrap|Line Numbers
  1. <link rel="stylesheet" type="text/css" href="…" media="print">
Jan 5 '11 #4
waqasahmed996
160 100+
Thanks a lot. You really solve my problem
Jan 6 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ed | last post by:
Don't even know if this is a javascrip thing...but how do I remove the underline from hyperlinks?
5
by: Wladimir Borsov | last post by:
Occasionally I want to save web pages (with the IE) without the surrounding frills and banners. For that I click on the link "print" and a printer friendly version web page is prepared and popped...
4
by: Salad | last post by:
If I create a field as a hyperlink, Access will open the hyperlink if I single click it. Is there a method within the operating system that would tell access to only open the hyperlink if...
3
by: Ken Saganowski | last post by:
Not sure if this is the proper group to post this but its worth a shot: Is there a project property setting that gives hyperlinks and linkButtons the "rollover" effect with underlining? Right...
3
by: KatB | last post by:
Hi, I'm building a datagrid with a column to show + or - signs for expanding/collapsing child rows, etc. It works okay except since I'm using a LinkButton column there is an underline below the...
3
by: | last post by:
Is there a way to REMOVE the underline within the HyperLink button? Thanks Brian
2
by: Jeff | last post by:
hey asp.net 2.0 I have a HyperLink control on my webpage, I want this HyperLink to display a underline when mouse is hovering over it. This is NOT a html link, but a...
3
by: Otto Wyss | last post by:
I'd like to print a page but would exclude all elements but one (a table). I've successfully removed all elements from printing with a print.css @page { size: portrait; margin: 2.5cm 1cm 1.5cm...
2
by: Unnamed | last post by:
Hi all i have the enclosed code, is there some way i can remove th hyperlink from the webpage once it is clicked?. $urlVarMac = "/tmp/mac-stats-" . $date; $urlVarTr = "/tmp/tr-stats-" ....
5
by: Silgd1 | last post by:
Hey All.... I am creating web page using Netbeans 6.0. I use A jspf (java server page fragment) that is included in most of the other pages. There are several hyperlinks on the jspf that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.