Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认情况下 IE 是 enable Shrink-to-Fit。用户在打印页面时对此不满意。它获取整个网络的数据。但他们只需要在他们看到的时候。
Shrink-to-Fit
缩小以适合
通过禁用 Shrink-to-Fit
我只是告诉用户手动设置。
无论如何都要使用javascript或其他禁用?
你可以试试 jQuery 打印库;
http://www.swhistlesoft.com/blog/2011/08/05/1411-a-jquery-print-library-that-fixes-the-ie7-shrink-to-fit-issue
我在通过 ssh2_exec 通过 php 传递以下命令时遇到问题,命令是
./prog cat <<EOF a a a b b c d d EOF
问题是第一行'cat <<EOF',php 将“EOF”作为一个特殊的词,我希望
'cat <<EOF'