Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8409497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:55:39+00:00 2026-06-09T23:55:39+00:00

Some modern browsers convert links like <a href=http://somesite.com>Site</a> into Site (http://somesite.com) as part of

  • 0

Some modern browsers convert links like

<a href="http://somesite.com">Site</a>

into

Site (http://somesite.com)

as part of the generated PDF.

Is there a way to omit the links from the generated PDF version by pure CSS?

Which CSS classes in the print.css must be defined in order to suppress the link URLs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:55:40+00:00Added an answer on June 9, 2026 at 11:55 pm

    Here is an example for the way to manipulate the styling of <a href=...> tags inside a CSS file to make it appear as you dislike it:

    @media print {
      ##....
      a[href]:after {
         content:" ("attr(href)")";
         color:#868686;
         background-color:inherit;
         font-style:italic;
         size:90%;
      }
      ##....
    }
    

    To override this setting (and make it appear more to your liking), you may need to use a (user) print.css which contains the following (as part of its total content):

    a[href]:after {
       content:"" !important;
    }
    

    Your question is not very clear about the scope of your requirement:

    • Should it be valid just for a website you control and for the users visiting it?
    • Should it apply to any web page you visit?

    If you want the first, you put the reference to your print.css into the HTML header section the usual way and host the file on your web server

    If you want the second, you should google for “user stylesheets” to find links like the following:

    • Accessibility Features of CSS: User override of styles
    • Tap the power of Mozilla’s user style sheets
    • How to write a user stylesheet for Safari
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Modern browsers are supposed to support the CSS page-break properties to some degree. However
There is a common feature of modern browsers where a user can select some
I'm having some weird issues with socket.io and modern browsers. Surprisingly, with IE9 works
Using Firefox and maybe others modern browsers, we are allowed to select some text
Since many modern browsers support CSS3, I would like to use many CSS 3
Am curious why modern browsers allow switching off Javascript. It's so clear now that
I have some basic hyperlinks (they're tags dynamically generated by Wordpress). Here's the code
I am using simple CSS with modern browsers: IE 9 and Firefox 10. <link
NOTE: As per ECMAScript5.1, section 15.1.1.3 , window.undefined is read-only. Modern browsers implement this
I know that modern browsers will allow URIs with spaces in them, and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.