<?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/"
		>
<channel>
	<title>Comments on: How to detect screen size and apply a CSS style</title>
	<atom:link href="http://www.ilovecolors.com.ar/detect-screen-size-css-style/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 10:24:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Elio</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-10049</link>
		<dc:creator>Elio</dc:creator>
		<pubDate>Mon, 09 Jan 2012 13:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-10049</guid>
		<description>David, your case would be better served using css media queries, but if for some reason you don&#039;t want to use them (for example, browser compatibility), you should change the code and write a listener that detects the window resizing, probably using the &lt;a href=&quot;http://api.jquery.com/resize/&quot; rel=&quot;nofollow&quot;&gt;resize&lt;/a&gt; jQuery method.</description>
		<content:encoded><![CDATA[<p>David, your case would be better served using css media queries, but if for some reason you don&#8217;t want to use them (for example, browser compatibility), you should change the code and write a listener that detects the window resizing, probably using the <a href="http://api.jquery.com/resize/" rel="nofollow">resize</a> jQuery method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Ashleydale</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-10042</link>
		<dc:creator>David Ashleydale</dc:creator>
		<pubDate>Fri, 06 Jan 2012 20:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-10042</guid>
		<description>I know this is for screen resolution detection, not actual window size, but is there a way to do this for window size?

Here&#039;s the experience I&#039;m looking for: A user views a page at 1280 x 960 resolution, but their current window size for the browser is 600 x 600. In this case, they get 600.css. But if they drag the corner of the window and make it larger, it switches to using 600_plus.css.</description>
		<content:encoded><![CDATA[<p>I know this is for screen resolution detection, not actual window size, but is there a way to do this for window size?</p>
<p>Here&#8217;s the experience I&#8217;m looking for: A user views a page at 1280 x 960 resolution, but their current window size for the browser is 600 x 600. In this case, they get 600.css. But if they drag the corner of the window and make it larger, it switches to using 600_plus.css.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-9986</link>
		<dc:creator>amit</dc:creator>
		<pubDate>Fri, 16 Dec 2011 13:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-9986</guid>
		<description>thank you</description>
		<content:encoded><![CDATA[<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-9801</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Wed, 02 Nov 2011 12:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-9801</guid>
		<description>I pasted the Javascript inside my .

I get the alert if the screen size is bigger than 800x600 and smaller than 1024x....

it won&#039;t load the css file. I tried also href=”css/detect800.css”</description>
		<content:encoded><![CDATA[<p>I pasted the Javascript inside my .</p>
<p>I get the alert if the screen size is bigger than 800&#215;600 and smaller than 1024x&#8230;.</p>
<p>it won&#8217;t load the css file. I tried also href=”css/detect800.css”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-9668</link>
		<dc:creator>Michelle</dc:creator>
		<pubDate>Sat, 22 Oct 2011 01:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-9668</guid>
		<description>Can someone please help me. I have tried to use this on a site but I cannot get it to work..... The site has been designed to fit a 1280 x 960 so I am really trying to just size it down for smaller screens. I have images and on the page and I tried to get help before but I weas told the images were too big, too wide and too heavy for the web so, &quot;the page is going to stretch out to the size if the widest image and cut everything off because the page size cannot be smaller than the narrowest image, no matter how small the window size gets.&quot; I am confused..... Is there no way that this will work for my site then? Can anyone help me please?</description>
		<content:encoded><![CDATA[<p>Can someone please help me. I have tried to use this on a site but I cannot get it to work&#8230;.. The site has been designed to fit a 1280 x 960 so I am really trying to just size it down for smaller screens. I have images and on the page and I tried to get help before but I weas told the images were too big, too wide and too heavy for the web so, &#8220;the page is going to stretch out to the size if the widest image and cut everything off because the page size cannot be smaller than the narrowest image, no matter how small the window size gets.&#8221; I am confused&#8230;.. Is there no way that this will work for my site then? Can anyone help me please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DD.Minh</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-9097</link>
		<dc:creator>DD.Minh</dc:creator>
		<pubDate>Thu, 08 Sep 2011 11:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-9097</guid>
		<description>&lt;head&gt;
&lt;title&gt;CSS3 Screen size &lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; media=&quot;only screen and (max-width: 1024px)&quot; href=&quot;detect800.css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; media=&quot;only screen and (min-width: 1024px)&quot; href=&quot;detect1024.css&quot; /&gt;

&lt;/head&gt;</description>
		<content:encoded><![CDATA[<p>&lt;head&gt;<br />
&lt;title&gt;CSS3 Screen size &lt;/title&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;link rel=&#8221;stylesheet&#8221; media=&#8221;only screen and (max-width: 1024px)&#8221; href=&#8221;detect800.css&#8221; /&gt;<br />
&lt;link rel=&#8221;stylesheet&#8221; media=&#8221;only screen and (min-width: 1024px)&#8221; href=&#8221;detect1024.css&#8221; /&gt;</p>
<p>&lt;/head&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DD.Minh</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-9096</link>
		<dc:creator>DD.Minh</dc:creator>
		<pubDate>Thu, 08 Sep 2011 11:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-9096</guid>
		<description>another way is use CSS3
ex: 






</description>
		<content:encoded><![CDATA[<p>another way is use CSS3<br />
ex:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DD.Minh</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-9089</link>
		<dc:creator>DD.Minh</dc:creator>
		<pubDate>Thu, 08 Sep 2011 07:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-9089</guid>
		<description>if your current screen size has 
width&gt;=1024 and height&gt;=768, browser will load only 1 css files is &quot;detect1024.css&quot; &gt;&gt; That&#039;s good.

But if your screen size is &lt; 1024 Then browser have to download 2 css files (detect1024.css and detect800.css), you can check it in the Net/css panel of firebug.</description>
		<content:encoded><![CDATA[<p>if your current screen size has<br />
width&gt;=1024 and height&gt;=768, browser will load only 1 css files is &#8220;detect1024.css&#8221; &gt;&gt; That&#8217;s good.</p>
<p>But if your screen size is &lt; 1024 Then browser have to download 2 css files (detect1024.css and detect800.css), you can check it in the Net/css panel of firebug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-8958</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sun, 28 Aug 2011 06:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-8958</guid>
		<description>All is working perfectly in firefox and safari, but opening in ie8 makes it crash completely.

Is this common? Any help would be great!</description>
		<content:encoded><![CDATA[<p>All is working perfectly in firefox and safari, but opening in ie8 makes it crash completely.</p>
<p>Is this common? Any help would be great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elio</title>
		<link>http://www.ilovecolors.com.ar/detect-screen-size-css-style/#comment-8521</link>
		<dc:creator>Elio</dc:creator>
		<pubDate>Thu, 21 Jul 2011 23:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ilovecolors.com.ar/?p=1536#comment-8521</guid>
		<description>Eunice, you could use the switch-case-break conditional structure to test for many different screen sizes and load the proper stylesheet.</description>
		<content:encoded><![CDATA[<p>Eunice, you could use the switch-case-break conditional structure to test for many different screen sizes and load the proper stylesheet.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

