Modify DOM elements of a print page with jQuery code using Firebug


/ Published in: jQuery
Save to your folder(s)

Example:

Add the following ccs '@media print { body { font-size: 12pt } }' to the document.


Copy this code and paste it in your HTML
  1. $('<style media="print"> body {font-size: 12pt} </
  2. style>').appendTo('head');

URL: http://groups.google.com/group/jquery-en/browse_thread/thread/27033d6f140a1ee

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.