<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Keith's Web Blog RSS Feed</title>
<language>en-us</language>
<link>http://www.keithwatanabe.net/index.php</link>
<description>Keith Watanabe's Website</description>
<item>
<title>Javascript/CSS Display Issue</title>
<link>http://www.keithwatanabe.net/blogs/2008/3/6/49c4ff3f8272ab2df16fcd7af6e13195.html</link>
<description><![CDATA[I ran into a rather frustrating problem that I only solved the other day.  It was that I had embedded a stylesheet within the HTML using the <strong>style</strong> tags.  Inside, I used the ID selector to style a particular div element.  In particular, I used a kind of display: none; thing.<br />
<br />
Well, one of the things I needed was to be able to make that part visible again once a person unchecked that element.  Before I was doing something like $(ele).style.display = '';.  Turns out, that the precedence of Javascript is lower than the one in inline style.  So to rectify this, I had to instead do $(ele).style.display = 'block' (or inline).  Pretty annoying but a nice little fix to this problem.]]></description>
<pubDate>Thu, 06 Mar 2008 09:14:44 -0700</pubDate>
<guid>http://www.keithwatanabe.net/blogs/2008/3/6/49c4ff3f8272ab2df16fcd7af6e13195.html</guid>
</item>
</channel>
</rss>
