<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dmitri's Blog &#187; html</title>
	<atom:link href="http://www.dmitri.me/blog/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dmitri.me/blog</link>
	<description>Dmitri Smirnov. Web development in Estonia.</description>
	<lastBuildDate>Tue, 10 Aug 2010 12:07:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hypnotic effect with Rahael</title>
		<link>http://www.dmitri.me/blog/hypnotic-effect-with-rahael/</link>
		<comments>http://www.dmitri.me/blog/hypnotic-effect-with-rahael/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 13:49:22 +0000</pubDate>
		<dc:creator>Dmitri</dc:creator>
				<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[raphael]]></category>

		<guid isPermaLink="false">http://www.dmitri.me/blog/?p=382</guid>
		<description><![CDATA[Open fullscreen

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dmitri.me/misc/ball/">Open fullscreen</a><br />
<iframe scrolling="no" src="http://www.dmitri.me/misc/ball/" width="550" height="550" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmitri.me/blog/hypnotic-effect-with-rahael/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML nested ordered lists and numeration</title>
		<link>http://www.dmitri.me/blog/html-nested-ordered-lists-and-numeration/</link>
		<comments>http://www.dmitri.me/blog/html-nested-ordered-lists-and-numeration/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 07:26:29 +0000</pubDate>
		<dc:creator>Dmitri</dc:creator>
				<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[web-development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[numeration]]></category>
		<category><![CDATA[ol]]></category>
		<category><![CDATA[Ordered list]]></category>

		<guid isPermaLink="false">http://www.dmitri.me/blog/?p=363</guid>
		<description><![CDATA[Sometimes is needed to-do nested numeration in HTML ordered lists. Here is a simple CSS solution how to achieve this.
CSS:
ol {  counter-reset: item;  }
ol li { display:block; }
ol li:before { content: counters(item, ".") ". "; counter-increment: item }

HTML:

&#60;ol&#62;
  &#60;li&#62;
    Cities
    &#60;ol&#62;
      [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes is needed to-do nested numeration in HTML ordered lists. Here is a simple CSS solution how to achieve this.</p>
<p><strong>CSS:</strong><br />
<code>ol {  counter-reset: item;  }<br />
ol li { display:block; }<br />
ol li:before { content: counters(item, ".") ". "; counter-increment: item }<br />
</code></p>
<p><strong>HTML:</strong>
<pre>
<code>&lt;ol&gt;
  &lt;li&gt;
    Cities
    &lt;ol&gt;
      &lt;li&gt;
        Tallinn
        &lt;ol&gt;
          &lt;li&gt;Kesklinn&lt;/li&gt;
          &lt;li&gt;Lasnamäe&lt;/li&gt;
          &lt;li&gt;Mustamäe&lt;/li&gt;
        &lt;/ol&gt;
      &lt;/li&gt;
      &lt;li&gt;
        Narva
        &lt;ol&gt;
          &lt;li&gt;Krenholmi&lt;/li&gt;
          &lt;li&gt;Soldino&lt;/li&gt;
          &lt;li&gt;Paemuru&lt;/li&gt;
        &lt;/ol&gt;
      &lt;/li&gt;
    &lt;/ol&gt;
  &lt;/li&gt;
&lt;/ol&gt;
</code>
</pre>
<p><strong>Result:</strong></p>
<style type="text/css">
ol.post_lists{ counter-reset: item; }
ol.post_lists li { display:block; }
ol.post_lists li:before { content: counters(item, ".") ". "; counter-increment: item }
</style>
<ol class="post_lists">
<li>
    Cities</p>
<ol class="post_lists">
<li>
        Tallinn</p>
<ol class="post_lists">
<li>Kesklinn</li>
<li>Lasnamäe</li>
<li>Mustamäe</li>
</ol>
</li>
<li>
        Narva</p>
<ol class="post_lists">
<li>Krenholmi</li>
<li>Soldino</li>
<li>Paemuru</li>
</ol>
</li>
</ol>
</li>
</ol>
<p>You can do so many nested lists as you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmitri.me/blog/html-nested-ordered-lists-and-numeration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide outline border on A tag focus</title>
		<link>http://www.dmitri.me/blog/hide-outline-border-on-a-tag-focus/</link>
		<comments>http://www.dmitri.me/blog/hide-outline-border-on-a-tag-focus/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:01:54 +0000</pubDate>
		<dc:creator>Dmitri</dc:creator>
				<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web-development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[outline]]></category>

		<guid isPermaLink="false">http://www.dmitri.me/blog/?p=319</guid>
		<description><![CDATA[
.out1:focus { outline:1px dotted black; }

When you focus A tag or submit button sometimes outline border looks ugly on websites. Here are examples:
Foobar 
This can be easy fixed (for all browsers except Internet Explorer!) by adding 1 line of CSS rule:
a:focus { outline: none; }
IE has non-standard HTML attribute hideFocus=&#8221;true&#8221; to solve this problem. Of [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
.out1:focus { outline:1px dotted black; }
</style>
<p>When you focus A tag or submit button sometimes outline border looks ugly on websites. Here are examples:<br />
<a href="#" class="out1" onclick="return false">Foobar</a> <a href="#" class="out1" onclick="return false"><img src="/lj/l_toyota.png" alt="toyota" border="0" /></a></p>
<p>This can be easy fixed (f<strong>or all browsers except Internet Explorer!</strong>) by adding 1 line of CSS rule:<br />
<code>a:focus { outline: none; }</code></p>
<p>IE has non-standard HTML attribute <strong>hideFocus=&#8221;true&#8221;</strong> to solve this problem. Of course you don&#8217;t like to put this attribute in every &lt;A&gt; tag and submit buttons in your HTML. I have 2 working solutions for all browsers:</p>
<h3>CSS expression solution</h3>
<p><code>input, a {<br />
&nbsp;&nbsp;outline:expression(hideFocus='true');<br />
&nbsp;&nbsp;outline:none;<br />
}</code></p>
<h3>jQuery solution</h3>
<p><code>$("a, input").each(function() {<br />
&nbsp;&nbsp;$(this).attr("hideFocus", "true").css("outline", "none");<br />
});</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmitri.me/blog/hide-outline-border-on-a-tag-focus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
