window.print() abhängig von der css-Umgebung print bzw. screen
Kann ich bei einer bestimmten html Seite über css steuern, wann der Druckdialog window.print() aufgerufen wird?
Nämlich soll der Druckdialog nur im
und nicht im
aufgerufen werden. Ist dies möglich?
<style type="text/css" media="print">
<style type="text/css" media="screen">
Please also mark the comments that contributed to the solution of the article
Content-Key: 114000
Url: https://administrator.de/contentid/114000
Printed on: April 24, 2024 at 08:04 o'clock