<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Optimizing Your Website Structure For Print Using&#160;CSS</title> <atom:link href="http://davidwalsh.name/optimizing-structure-print-css/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/optimizing-structure-print-css</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 19:56:08 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: universalGlove</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-31283</link> <dc:creator>universalGlove</dc:creator> <pubDate>Tue, 27 Mar 2012 18:51:37 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-31283</guid> <description>I didn&#039;t read all the comments, so hopefully I&#039;m not duplicating observations.I was successfully hiding content for print, until I added two new elements to a page.
They wouldn&#039;t hide, even though the &quot;no-print&quot; class was applied. No reason I could see for it to not work. Tried in both IE 8 and Firefox 11.0.
However, both new elements were links - anchor tags made to display as block.
Once I encased them in a div and applied no-print to the div, they stopped printing.Didn&#039;t hide for print (IE8 and FF11):
&lt;code&gt;
&lt;a href=&quot;/&quot; rel=&quot;nofollow&quot;&gt;TEXT&lt;/a&gt;
&lt;/code&gt;Successfully hid when printed (IE8 and FF11):
&lt;code&gt;&lt;a href=&quot;/&quot; rel=&quot;nofollow&quot;&gt;TEXT&lt;/a&gt;&lt;/code&gt;So, perhaps there are also issues when trying to hide for print any elements that are inherently inline type elements? or just links for some reason?I&#039;ll have to look further and experiment sometime.</description> <content:encoded><![CDATA[<p>I didn&#8217;t read all the comments, so hopefully I&#8217;m not duplicating observations.</p><p>I was successfully hiding content for print, until I added two new elements to a page.<br
/> They wouldn&#8217;t hide, even though the &#8220;no-print&#8221; class was applied. No reason I could see for it to not work. Tried in both IE 8 and Firefox 11.0.<br
/> However, both new elements were links &#8211; anchor tags made to display as block.<br
/> Once I encased them in a div and applied no-print to the div, they stopped printing.</p><p>Didn&#8217;t hide for print (IE8 and FF11):<br
/> <code><br
/> <a
href="/" rel="nofollow">TEXT</a><br
/> </code></p><p>Successfully hid when printed (IE8 and FF11):<br
/> <code></p><p> <a
href="/" rel="nofollow">TEXT</a></p><p></code></p><p>So, perhaps there are also issues when trying to hide for print any elements that are inherently inline type elements? or just links for some reason?</p><p>I&#8217;ll have to look further and experiment sometime.</p> ]]></content:encoded> </item> <item><title>By: Daniel R</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-27680</link> <dc:creator>Daniel R</dc:creator> <pubDate>Sun, 20 Nov 2011 23:24:25 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-27680</guid> <description>Reading through your style.css, I could answer my own question. The code snippet below squeezes the headers out of printing scope, and if I apply some sensible padding on the elements on the page itself, I can get a well-formatted print layout without the annoying page info headers/footers. Neat!&lt;code&gt;
@media print {
@page { margin: 0.5cm; }
}
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Reading through your style.css, I could answer my own question. The code snippet below squeezes the headers out of printing scope, and if I apply some sensible padding on the elements on the page itself, I can get a well-formatted print layout without the annoying page info headers/footers. Neat!</p><p><code><br
/> @media print {<br
/> @page { margin: 0.5cm; }<br
/> }<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Daniel R</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-27679</link> <dc:creator>Daniel R</dc:creator> <pubDate>Sun, 20 Nov 2011 19:12:35 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-27679</guid> <description>Thanks for this great article. I&#039;ve noticed that the print-version of your pages don&#039;t show those annoying page-info headers/footers (that give you the url, the page count, etc). How on earth did you manage to get rid of them?</description> <content:encoded><![CDATA[<p>Thanks for this great article. I&#8217;ve noticed that the print-version of your pages don&#8217;t show those annoying page-info headers/footers (that give you the url, the page count, etc). How on earth did you manage to get rid of them?</p> ]]></content:encoded> </item> <item><title>By: Scott Arbeitman</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-26998</link> <dc:creator>Scott Arbeitman</dc:creator> <pubDate>Tue, 27 Sep 2011 03:44:59 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-26998</guid> <description>I vowed never to buy any printed material a few months ago and here I am, making effectively a print-only web page. Can&#039;t wait for the future, but in the meantime, thanks for the help.</description> <content:encoded><![CDATA[<p>I vowed never to buy any printed material a few months ago and here I am, making effectively a print-only web page. Can&#8217;t wait for the future, but in the meantime, thanks for the help.</p> ]]></content:encoded> </item> <item><title>By: Fred</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-24249</link> <dc:creator>Fred</dc:creator> <pubDate>Fri, 27 May 2011 17:04:27 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-24249</guid> <description>Does &lt;code&gt;page-break-before: always; &lt;/code&gt; not work in Chrome? Can&#039;t seem to get it.</description> <content:encoded><![CDATA[<p>Does <code>page-break-before: always; </code> not work in Chrome? Can&#8217;t seem to get it.</p> ]]></content:encoded> </item> <item><title>By: Josh</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-22430</link> <dc:creator>Josh</dc:creator> <pubDate>Mon, 24 Jan 2011 18:17:49 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-22430</guid> <description>Just read three of your articles, after a Google search for using CSS to print name tags.  Keep it up, this is good stuff.fav&#039;d</description> <content:encoded><![CDATA[<p>Just read three of your articles, after a Google search for using CSS to print name tags.  Keep it up, this is good stuff.</p><p>fav&#8217;d</p> ]]></content:encoded> </item> <item><title>By: bizkid64</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-9239</link> <dc:creator>bizkid64</dc:creator> <pubDate>Thu, 14 May 2009 23:44:19 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-9239</guid> <description>I&#039;m trying to reproduce a government form in a printer-friendly format.  I&#039;m using repeated data from a database, but I need to be able to recreate a header and page numbering at the top of each successive page.  Any thoughts on how to do this?  Also, is there an easy way to figure out the dimensions (in pixels) of the printable area of a page given paper size and various margins?I&#039;ve been searching for an answer on this for days, and your site is the closest I&#039;ve come to finding an answer.  Thanks.</description> <content:encoded><![CDATA[<p>I&#8217;m trying to reproduce a government form in a printer-friendly format.  I&#8217;m using repeated data from a database, but I need to be able to recreate a header and page numbering at the top of each successive page.  Any thoughts on how to do this?  Also, is there an easy way to figure out the dimensions (in pixels) of the printable area of a page given paper size and various margins?</p><p>I&#8217;ve been searching for an answer on this for days, and your site is the closest I&#8217;ve come to finding an answer.  Thanks.</p> ]]></content:encoded> </item> <item><title>By: Sen</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-8788</link> <dc:creator>Sen</dc:creator> <pubDate>Mon, 20 Apr 2009 09:32:42 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-8788</guid> <description>how must i do to hide something using CSS and apply this into IE7</description> <content:encoded><![CDATA[<p>how must i do to hide something using CSS and apply this into IE7</p> ]]></content:encoded> </item> <item><title>By: Vivekanand</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-8345</link> <dc:creator>Vivekanand</dc:creator> <pubDate>Fri, 20 Mar 2009 18:03:42 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-8345</guid> <description>I am sure, this will help lot of beginners..... thanks for share....Cheers,
Vivek
[http://www.developersnippets.com]</description> <content:encoded><![CDATA[<p>I am sure, this will help lot of beginners&#8230;.. thanks for share&#8230;.</p><p>Cheers,<br
/> Vivek<br
/> [http://www.developersnippets.com]</p> ]]></content:encoded> </item> <item><title>By: Maha</title><link>http://davidwalsh.name/optimizing-structure-print-css#comment-3756</link> <dc:creator>Maha</dc:creator> <pubDate>Mon, 10 Nov 2008 07:17:36 +0000</pubDate> <guid
isPermaLink="false">http://www.davidwalsh.name/optimizing-your-website-structure-for-print-using-css/#comment-3756</guid> <description>Hi
I am currently working on printing report. In which html page is used to show my content which is from datatable, the report is like row-columnwise structure. If I select to print the report the page simply breaks as per content in table. Instead to that I add those column headers in second, third, fourth.....page too.
Pls help me out to solve this..Thanks in advance</description> <content:encoded><![CDATA[<p>Hi<br
/> I am currently working on printing report. In which html page is used to show my content which is from datatable, the report is like row-columnwise structure. If I select to print the report the page simply breaks as per content in table. Instead to that I add those column headers in second, third, fourth&#8230;..page too.<br
/> Pls help me out to solve this..</p><p>Thanks in advance</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/7 queries in 0.004 seconds using disk: basic
Object Caching 804/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 15:37:19 -->
