<?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: Who&#8217;s Got Style?</title>
	<atom:link href="http://www.yuiblog.com/blog/index.php/2007/06/07/style/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yuiblog.com/blog/2007/06/07/style/</link>
	<description>The official blog of the YUI Project.</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Dynamically loading CSS in Safari and Google Chrome &#171; Banshee Technologies</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-592036</link>
		<dc:creator>Dynamically loading CSS in Safari and Google Chrome &#171; Banshee Technologies</dc:creator>
		<pubDate>Thu, 03 Jun 2010 23:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-592036</guid>
		<description>[...] Nicholas Zakas explains this in great and excellent detail: http://yuiblog.com/blog/2007/06/07/style/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Nicholas Zakas explains this in great and excellent detail: <a href="http://yuiblog.com/blog/2007/06/07/style/" rel="nofollow">http://yuiblog.com/blog/2007/06/07/style/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-578922</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 16 Mar 2009 12:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-578922</guid>
		<description>Thanks for the solution and clear explanation, it works perfect for me!</description>
		<content:encoded><![CDATA[<p>Thanks for the solution and clear explanation, it works perfect for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: required</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-578892</link>
		<dc:creator>required</dc:creator>
		<pubDate>Sat, 14 Mar 2009 16:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-578892</guid>
		<description>&quot;var styleElement = document.createElement&quot;
&quot;A warning: IE only allows writing to styleSheet.cssText one time per  element.&quot;

Does it not slow down the browser that new style elements consisting of only one style element are being made?  Is it like a whole new stylesheet for each little bit of css code?
-thanks</description>
		<content:encoded><![CDATA[<p>&#8220;var styleElement = document.createElement&#8221;<br />
&#8220;A warning: IE only allows writing to styleSheet.cssText one time per  element.&#8221;</p>
<p>Does it not slow down the browser that new style elements consisting of only one style element are being made?  Is it like a whole new stylesheet for each little bit of css code?<br />
-thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon N</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-578810</link>
		<dc:creator>Simon N</dc:creator>
		<pubDate>Fri, 06 Mar 2009 12:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-578810</guid>
		<description>Outstanding! Been struggling with this IE &quot;feature&quot; for hours - now works perfectly. Thanks</description>
		<content:encoded><![CDATA[<p>Outstanding! Been struggling with this IE &#8220;feature&#8221; for hours &#8211; now works perfectly. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim g</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-496132</link>
		<dc:creator>jim g</dc:creator>
		<pubDate>Fri, 17 Oct 2008 01:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-496132</guid>
		<description>So here&#039;s another thing to consider: the above discussion centers on dynamically adding CSS rules to a STYLE tag...what happens if you hit an &quot;@import&quot; rule in the CSS?</description>
		<content:encoded><![CDATA[<p>So here&#8217;s another thing to consider: the above discussion centers on dynamically adding CSS rules to a STYLE tag&#8230;what happens if you hit an &#8220;@import&#8221; rule in the CSS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Rosenzweig</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-388010</link>
		<dc:creator>Shlomi Rosenzweig</dc:creator>
		<pubDate>Mon, 02 Jun 2008 17:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-388010</guid>
		<description>You can also add style sheets using a similar function:

function addCssFile(css) {
    var styleElement = document.createElement(&quot;link&quot;);
    styleElement.type = &quot;text/css&quot;;
    styleElement.rel=&quot;stylesheet&quot;;
    styleElement.href = css;
    document.getElementsByTagName(&quot;head&quot;)[0].appendChild(styleElement);
}</description>
		<content:encoded><![CDATA[<p>You can also add style sheets using a similar function:</p>
<p>function addCssFile(css) {<br />
    var styleElement = document.createElement(&#8220;link&#8221;);<br />
    styleElement.type = &#8220;text/css&#8221;;<br />
    styleElement.rel=&#8221;stylesheet&#8221;;<br />
    styleElement.href = css;<br />
    document.getElementsByTagName(&#8220;head&#8221;)[0].appendChild(styleElement);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: .wpal &#187; Blog Archives &#187; Кто получил стиль?</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-151871</link>
		<dc:creator>.wpal &#187; Blog Archives &#187; Кто получил стиль?</dc:creator>
		<pubDate>Wed, 04 Jul 2007 08:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-151871</guid>
		<description>[...] Who’s Got Style?   Posted in перевод, wtf, javascript, программирование &#124; Trackback &#124; [...]</description>
		<content:encoded><![CDATA[<p>[...] Who’s Got Style?   Posted in перевод, wtf, javascript, программирование | Trackback | [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Añadir CSS dinámicamente en tu web &#171; Jery Rojas - Diseñador Web</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-140436</link>
		<dc:creator>Añadir CSS dinámicamente en tu web &#171; Jery Rojas - Diseñador Web</dc:creator>
		<pubDate>Thu, 14 Jun 2007 05:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-140436</guid>
		<description>[...] CSS dinámicamente en tu&#160;web  En el Yahoo! User Interface Blog, hace unos días, publicaron un interesante artículo sobre como, con DOM, añadir CSS [...]</description>
		<content:encoded><![CDATA[<p>[...] CSS dinámicamente en tu&nbsp;web  En el Yahoo! User Interface Blog, hace unos días, publicaron un interesante artículo sobre como, con DOM, añadir CSS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Skinner</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-139555</link>
		<dc:creator>Jesse Skinner</dc:creator>
		<pubDate>Tue, 12 Jun 2007 10:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-139555</guid>
		<description>Regarding why you might want to add style blocks using JavaScript: I&#039;ve worked on a web site builder that allowed users to dynamically change the look of links on the page (and other things), so we needed to be able to throw a style block on the page containing:

a { color: #F82156; text-decoration: none }
a:visited { color: #752007; }
a:hover { text-decoration: underline }

For this and similar situations, adding script blocks is a great solution.</description>
		<content:encoded><![CDATA[<p>Regarding why you might want to add style blocks using JavaScript: I&#8217;ve worked on a web site builder that allowed users to dynamically change the look of links on the page (and other things), so we needed to be able to throw a style block on the page containing:</p>
<p>a { color: #F82156; text-decoration: none }<br />
a:visited { color: #752007; }<br />
a:hover { text-decoration: underline }</p>
<p>For this and similar situations, adding script blocks is a great solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Intenta &#187; Blog Archive &#187; Añadir CSS dinámicamente en tu web</title>
		<link>http://www.yuiblog.com/blog/2007/06/07/style/comment-page-1/#comment-139065</link>
		<dc:creator>Intenta &#187; Blog Archive &#187; Añadir CSS dinámicamente en tu web</dc:creator>
		<pubDate>Mon, 11 Jun 2007 09:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2007/06/07/style/#comment-139065</guid>
		<description>[...] el Yahoo! User Interface Blog, hace unos d&#237;as, publicaron un interesante art&#237;culo sobre como, con DOM, [...]</description>
		<content:encoded><![CDATA[<p>[...] el Yahoo! User Interface Blog, hace unos d&iacute;as, publicaron un interesante art&iacute;culo sobre como, con DOM, [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

