Se si utilizza la seguente CSS
<link href="~/Content/common/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="~/Content/common/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="~/Content/common/site.css" rel="stylesheet" type="text/css" />
basta cambiare nel seguente stile da aggiunta media = "schermo"
<link href="~/Content/common/bootstrap.css" rel="stylesheet" **media="screen"** type="text/css" />
<link href="~/Content/common/bootstrap.min.css" rel="stylesheet" **media="screen"** type="text/css" />
<link href="~/Content/common/site.css" rel="stylesheet" **media="screen"** type="text/css" />
Penso che funzionerà.
ex risposte come
@media print {
a[href]:after {
content: none !important;
}
}
non erano lavorato bene nel browse cromato.
fonte
2016-11-17 00:53:33
Ricorda PERCHÉ ogni principale framework CSS lo fa: non puoi fare clic su carta! Quindi, se hai intenzione di disattivarlo dovresti aggiungere un elenco di link in fondo, come questo: https://alistapart.com/article/improvingprint – Julix