3

So I have

.noprint
{
display: none;
}

in a stylesheet print.css and

<link rel="stylesheet" type="text/css" href="/assets/css/print.css" media="print"/>

in my webpage header.

I've added the class noprint to several div's and images but they still show up in the print preview of Google Chrome.

Any ideas?

4

1 に答える 1

1

.noprint クラスの div が css マークアップ ファイルから属性を継承できないというマークアップ エラーがありました。

于 2012-09-18T09:05:38.733 に答える