<?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: Programmatically Accessing the CSS Rules in Your Page&#039;s Stylesheets</title>
	<atom:link href="http://blog.stchur.com/2008/04/09/programmatically-accessing-the-css-rules-in-your-pages-stylesheets/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stchur.com/2008/04/09/programmatically-accessing-the-css-rules-in-your-pages-stylesheets/</link>
	<description>web / programming / javascript / css / html</description>
	<lastBuildDate>Thu, 26 Aug 2010 07:14:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sstchur</title>
		<link>http://blog.stchur.com/2008/04/09/programmatically-accessing-the-css-rules-in-your-pages-stylesheets/comment-page-1/#comment-1227</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Thu, 10 Apr 2008 15:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/04/09/programmatically-accessing-the-css-rules-in-your-pages-stylesheets/#comment-1227</guid>
		<description>Excellent point Rich.  Thanks for calling that out, as I wasn&#039;t aware of it.</description>
		<content:encoded><![CDATA[<p>Excellent point Rich.  Thanks for calling that out, as I wasn&#039;t aware of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RichB</title>
		<link>http://blog.stchur.com/2008/04/09/programmatically-accessing-the-css-rules-in-your-pages-stylesheets/comment-page-1/#comment-1221</link>
		<dc:creator>RichB</dc:creator>
		<pubDate>Thu, 10 Apr 2008 07:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/04/09/programmatically-accessing-the-css-rules-in-your-pages-stylesheets/#comment-1221</guid>
		<description>Another caveat would be cross-domain access. Firefox has policies which prevent JavaScript accessing the CSS cross-domain (eg when your CSS is stored on a CDN).

I worked on a site where we styled Silverlight by pulling styling attributes from CSS. However, because we were cross-domain, this failed. So we had to style hidden DIVs and then pull the current style off these DIVs and re-apply them to the Silverlight objects.</description>
		<content:encoded><![CDATA[<p>Another caveat would be cross-domain access. Firefox has policies which prevent JavaScript accessing the CSS cross-domain (eg when your CSS is stored on a CDN).</p>
<p>I worked on a site where we styled Silverlight by pulling styling attributes from CSS. However, because we were cross-domain, this failed. So we had to style hidden DIVs and then pull the current style off these DIVs and re-apply them to the Silverlight objects.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
