With CSS (level 2), the grip webmasters have over their webpages extends to the printer. To satisfy the controlling tendencies within us, IE5+ and Firefox/ NS6+ give you the power to insert artificial page breaks for printing. Now your site can look the way you want it to even after the computer’s turned off meme küçültme!
page-break-before and page-break-after
Here are your two boys for getting the job done- the CSS attributes page-break-before and page-break-after. Both instruct the printer to begin printing a new page, with the difference being before or following the element the attribute is applied to vajina estetiği.
<input type="checkbox" name="mybox" onClick="breakeveryheader()">
var thestyle=(document.forms.myform.mybox.checked)? "always" : "auto"
for (i=0; i<document.getElementsByTagName("H2").length; i++)