<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Delay loading your print CSS</title>
	<link>http://www.phpied.com/delay-loading-your-print-css/</link>
	<description>Stoyan's blog about (x)html, ajax, bookmarklets, browsers, css, firebug, javascript, json, mdb2, mysql, pear, performance, php, phpbb, tools, yslow, yui, writing, music,... life and everything.</description>
	<pubDate>Sun, 11 May 2008 23:56:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: Web Development 2.0 &#187; Blog Archive &#187; Media attribute - what have you done for me lately?</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-63674</link>
		<pubDate>Sat, 09 Feb 2008 08:31:39 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-63674</guid>
					<description>[...] You could think that the browser only loads the one stylesheet that matches the media it&amp;#8217;s currently showing. Not true. All stylesheets, no matter what media they are tied to, are loaded at startup. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] You could think that the browser only loads the one stylesheet that matches the media it&#8217;s currently showing. Not true. All stylesheets, no matter what media they are tied to, are loaded at startup. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mcdave.net &#187; links for 2007-12-31</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-63444</link>
		<pubDate>Mon, 31 Dec 2007 06:20:18 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-63444</guid>
					<description>[...] phpied.com » Blog Archive » Delay loading your print CSS (tags: css performance development) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] phpied.com » Blog Archive » Delay loading your print CSS (tags: css performance development) [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Media attribute - what have you done for me lately? - Friendly Bit</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-62910</link>
		<pubDate>Sun, 28 Oct 2007 23:07:00 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-62910</guid>
					<description>[...] You could think that the browser only loads the one stylesheet that matches the media it&amp;#8217;s currently showing. Not true. All stylesheets, no matter what media they are tied to, are loaded at startup. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] You could think that the browser only loads the one stylesheet that matches the media it&#8217;s currently showing. Not true. All stylesheets, no matter what media they are tied to, are loaded at startup. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tv</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-61694</link>
		<pubDate>Tue, 31 Jul 2007 17:29:51 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-61694</guid>
					<description>Actually, didn't everyone miss the obvious solution? Simply set up a hidden frame to load the print-only version of the CSS file. Maybe even an iframe at the very bottom would work, and style it to not display or even be visible. Since the main content will load simultaneously with the frame it should all work just fine. Haven't tried it cuz I don't need that, but I bet it will be good.  :)</description>
		<content:encoded><![CDATA[<p>Actually, didn't everyone miss the obvious solution? Simply set up a hidden frame to load the print-only version of the CSS file. Maybe even an iframe at the very bottom would work, and style it to not display or even be visible. Since the main content will load simultaneously with the frame it should all work just fine. Haven't tried it cuz I don't need that, but I bet it will be good.  <img src='http://www.phpied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: df</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-60890</link>
		<pubDate>Sun, 01 Jul 2007 15:04:30 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-60890</guid>
					<description>@Peter
Yeah, it would be great if the browsers did not get the print css until someone prints. You might put the print style on your site, not because many people print, but because it saves a few people ink.</description>
		<content:encoded><![CDATA[<p>@Peter<br />
Yeah, it would be great if the browsers did not get the print css until someone prints. You might put the print style on your site, not because many people print, but because it saves a few people ink.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Punb</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-60870</link>
		<pubDate>Wed, 27 Jun 2007 17:19:19 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-60870</guid>
					<description>I agree with Peter that browsers should not grab the print style sheet until the user tries to print or does a print preview, then it should grab it and cache it.</description>
		<content:encoded><![CDATA[<p>I agree with Peter that browsers should not grab the print style sheet until the user tries to print or does a print preview, then it should grab it and cache it.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: graste</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-60805</link>
		<pubDate>Tue, 26 Jun 2007 13:24:50 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-60805</guid>
					<description>In Opera the content is usually displayed earlier (even instantly if you want to). About 2 seconds after refresh the table is displayed unstyled, after 6 seconds the styles are applied, after about 11 seconds the page has finished loading.

In the 'preferences' (ctrl-f12) under 'advanced-&amp;#62;browsing-&amp;#62;loading' you can set the time, when Opera should redraw the content. In my version it is set to 'redraw after 1 second'. If I set it to 5 seconds, the table content appears first after about 5 seconds (unstyled of course) and gets its styling not a second later (because of your delay).</description>
		<content:encoded><![CDATA[<p>In Opera the content is usually displayed earlier (even instantly if you want to). About 2 seconds after refresh the table is displayed unstyled, after 6 seconds the styles are applied, after about 11 seconds the page has finished loading.</p>
<p>In the 'preferences' (ctrl-f12) under 'advanced-&gt;browsing-&gt;loading' you can set the time, when Opera should redraw the content. In my version it is set to 'redraw after 1 second'. If I set it to 5 seconds, the table content appears first after about 5 seconds (unstyled of course) and gets its styling not a second later (because of your delay).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: sassospicco</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-60554</link>
		<pubDate>Wed, 20 Jun 2007 13:10:10 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-60554</guid>
					<description>It doesn't happend in Opera (I'm using Opera 9.21)</description>
		<content:encoded><![CDATA[<p>It doesn't happend in Opera (I'm using Opera 9.21)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Max Design - standards based web design, development and training &#187; Some links for light reading (20/6/07)</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-60543</link>
		<pubDate>Wed, 20 Jun 2007 09:15:51 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-60543</guid>
					<description>[...] Delay loading your print CSS [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Delay loading your print CSS [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Onipresente &#187; Blog Archive &#187; Delay no CSS</title>
		<link>http://www.phpied.com/delay-loading-your-print-css/#comment-60500</link>
		<pubDate>Tue, 19 Jun 2007 19:23:45 +0000</pubDate>
		<guid>http://www.phpied.com/delay-loading-your-print-css/#comment-60500</guid>
					<description>[...] Neste simples tutorial ensina como fazer. A técnica é simples. Ele simplesmente insere um script PHP no código CSS. Através da função sleep do PHP, browser pára a exibição do conteúdo, enquanto isso o css é carregado. Simples, não? [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Neste simples tutorial ensina como fazer. A técnica é simples. Ele simplesmente insere um script PHP no código CSS. Através da função sleep do PHP, browser pára a exibição do conteúdo, enquanto isso o css é carregado. Simples, não? [&#8230;]
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
