Remove underline from hyperlink in Print

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • waqasahmed996
    New Member
    • Jun 2008
    • 160

    Remove underline from hyperlink in Print

    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
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you just need to remove the line in the printing css. something along a { text-decoration: none; }

    Comment

    • waqasahmed996
      New Member
      • Jun 2008
      • 160

      #3
      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

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        printing css is a stylesheet you declare for the print layout through the media keyword. e.g.
        Code:
        <link rel="stylesheet" type="text/css" href="…" media="print">

        Comment

        • waqasahmed996
          New Member
          • Jun 2008
          • 160

          #5
          Thanks a lot. You really solve my problem

          Comment

          Working...