Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

How to supress links appearing when printing?

When I print any ASPDNSF based page in prints all the links in parenthesis like

Item 1 (/c-123-item-1.aspx)

category 1(/c-123-category-1.aspx)

Account(account.aspx)

 Login(signin.aspx).

Looks confusing and unsightly when you see it on paper.
asked Feb 26, 2016 in General by fred000 (120 points)
I found the answer.

@media print {
  a[href]:after {
    content: none !important;
  }
}

1 Answer

0 votes

If you using bootstrap for CSS you can also add the class .hidden-print

answered Oct 23, 2017 by Joshua (215 points)
...