<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.leaky.org/index.php?action=history&amp;feed=atom&amp;title=CSS</id>
		<title>CSS - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.leaky.org/index.php?action=history&amp;feed=atom&amp;title=CSS"/>
		<link rel="alternate" type="text/html" href="https://wiki.leaky.org/index.php?title=CSS&amp;action=history"/>
		<updated>2026-04-13T09:50:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.leaky.org/index.php?title=CSS&amp;diff=377&amp;oldid=prev</id>
		<title>Leaky: Tip about page breaks</title>
		<link rel="alternate" type="text/html" href="https://wiki.leaky.org/index.php?title=CSS&amp;diff=377&amp;oldid=prev"/>
				<updated>2019-09-13T09:45:54Z</updated>
		
		<summary type="html">&lt;p&gt;Tip about page breaks&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Page breaks when printing ==&lt;br /&gt;
&lt;br /&gt;
Extract from https://davidwalsh.name/css-page-breaks&lt;br /&gt;
&lt;br /&gt;
=== The CSS ===&lt;br /&gt;
&lt;br /&gt;
The all and print medias should be addressed:&lt;br /&gt;
&lt;br /&gt;
 @media all {&lt;br /&gt;
     .page-break    { display: none; }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 @media print {&lt;br /&gt;
     .page-break    { display: block; page-break-before: always; }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The first declaration ensures that the page-break is never seen visually...while the second ensures that the page break is seen by the printer.&lt;br /&gt;
&lt;br /&gt;
=== The HTML ===&lt;br /&gt;
&lt;br /&gt;
Creating a simple DIV element with the page-break class is how you implement the page break.&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;div class=&amp;quot;page-break&amp;quot;&amp;amp;gt;&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:WebDevelopment]]&lt;/div&gt;</summary>
		<author><name>Leaky</name></author>	</entry>

	</feed>