<?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>Rowan &#187; html</title>
	<atom:link href="http://rowan.ijuru.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://rowan.ijuru.com</link>
	<description>Trying to make sense of it all</description>
	<lastBuildDate>Sun, 05 Oct 2008 15:46:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Default button on an HTML form</title>
		<link>http://rowan.ijuru.com/2008/09/13/default-button-on-an-html-form/</link>
		<comments>http://rowan.ijuru.com/2008/09/13/default-button-on-an-html-form/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 11:44:56 +0000</pubDate>
		<dc:creator>Rowan</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://rowan.ijuru.com/?p=294</guid>
		<description><![CDATA[When you&#8217;re filling in an HTML form and you hit Return / Enter, your browser will submit the form as if you clicked the default button&#8230; which is always the first submit button in the form. Sometimes though, you don&#8217;t want the default button to be the first one.
I&#8217;ve seen some funky solutions to this [...]]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re filling in an HTML form and you hit <em>Return </em>/<em> Enter</em>, your browser will submit the form as if you clicked the default button&#8230; which is always the first submit button in the form. Sometimes though, you don&#8217;t want the default button to be the first one.</p>
<p>I&#8217;ve seen some funky solutions to this problem, including using a hidden submit button which appears first in the form, but I&#8217;ve found the following works fine &#8211; change all the submit buttons that you don&#8217;t want to be default to normal buttons, i.e., <code>type="button"</code> instead of <code>type="submit"</code>, and use their <code>onclick</code> events to submit the form. For example:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;form id=&quot;myform&quot; method=&quot;get&quot;&gt;
&lt;!-- Not the default button --&gt;
&lt;input name=&quot;b1&quot; type=&quot;button&quot; onclick=&quot;this.form.submit()&quot; value=&quot;B1&quot; /&gt;
&lt;!-- The default button --&gt;
&lt;input name=&quot;b2&quot; type=&quot;submit&quot; value=&quot;B2&quot; /&gt;
&lt;/form&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://rowan.ijuru.com/2008/09/13/default-button-on-an-html-form/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why can&#8217;t IE use PNG favicons?</title>
		<link>http://rowan.ijuru.com/2008/09/09/why-cant-ie-use-png-favicons/</link>
		<comments>http://rowan.ijuru.com/2008/09/09/why-cant-ie-use-png-favicons/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 17:30:07 +0000</pubDate>
		<dc:creator>Rowan</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://rowan.ijuru.com/?p=269</guid>
		<description><![CDATA[If only we lived in a world where everybody used non-IE browsers. Web design would be so much easier. The latest thing I&#8217;ve discovered IE 7 can&#8217;t do, is display a PNG favicon. What can you do?

Make a sweet little 16&#215;16 PNG favicon in your favorite paint application
Butcher it into an ICO file using favicon.cc
Upload [...]]]></description>
			<content:encoded><![CDATA[<p>If only we lived in a world where everybody used non-IE browsers. Web design would be so much easier. The latest thing I&#8217;ve discovered IE 7 can&#8217;t do, is display a PNG favicon. What can you do?</p>
<ol>
<li>Make a sweet little 16&#215;16 PNG favicon in your favorite paint application</li>
<li>Butcher it into an ICO file using <a href="http://www.favicon.cc/">favicon.cc</a></li>
<li>Upload both files to your web server</li>
<li>Stick the following code in the HEAD section of your webpage</li>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;link rel=&quot;icon&quot; type=&quot;image/png&quot; href=&quot;favicon.png&quot; /&gt;
&lt;!--[if IE]&gt;
	&lt;link rel=&quot;shortcut icon&quot; type=&quot;image/x-icon&quot; href=&quot;favicon.ico&quot; /&gt;
&lt;![endif]--&gt;</pre></div></div>

<li>Reassure yourself that IE users are pretty used to a sub-standard web browsing experience, and won&#8217;t be bothered by the lack of proper transparency or 24bit color in the favicon they see</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://rowan.ijuru.com/2008/09/09/why-cant-ie-use-png-favicons/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
