<?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>Without Boundaries &#187; Programming Knowledge</title>
	<atom:link href="http://studio.anubisfrommemphis.com/category/blog/programming-knowledge/feed/" rel="self" type="application/rss+xml" />
	<link>http://studio.anubisfrommemphis.com</link>
	<description></description>
	<lastBuildDate>Tue, 09 Nov 2010 04:50:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Internet Explorer CSS Issue: Float Element Margin Doubled</title>
		<link>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-float-element-margin-doubled/</link>
		<comments>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-float-element-margin-doubled/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 06:08:42 +0000</pubDate>
		<dc:creator>Anubis From Memphis</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming Knowledge]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://studio.anubisfrommemphis.com/?p=254</guid>
		<description><![CDATA[Issue
This is, without a doubt, the most notorious IE6 bug that has baffled all CSS developers. Also known as the "Doubled Float-Margin" bug, this issue is about the margin properties of a floating element is doubled in IE6 and IE5 (IE7 has no such issue). For example:

.float-left-element &#123;
	width: 100px;
	height: 100px;
	float: left;
	clear: left;
	margin: 0 0 0 [...]]]></description>
			<content:encoded><![CDATA[<h3>Issue</h3>
<p>This is, without a doubt, the most notorious IE6 bug that has baffled all CSS developers. Also known as the "Doubled Float-Margin" bug, this issue is about the margin properties of a floating element is doubled in IE6 and IE5 (IE7 has no such issue). For example:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.float-left-element</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>The style class above will make a 100x100 pixel block element float to the left with <strong>left margin of 10 pixels</strong>. However, <strong>in IE6 and 5</strong>, the left margin will appear as <strong>20 pixels (doubled the original)</strong> instead.</p>
<p>Internet Explorer (IE) has been well known as the most W3C incompatible browser. In particular Internet Explorer 6 (IE6), is far most the worst of its kind. Most web development jobs involving front-end design, will spend most of their debugging time on issues relating to IE6 and other IE. For a complete list of issues, see <a href="http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issues-solutions/">Internet Explorer CSS Issues &amp; Solutions</a>.</p>
<p><span id="more-254"></span></p>
<h3>Solution</h3>
<h4>Method 1: Display Inline</h4>
<p>Note the definition of the <code>float</code> property:</p>
<blockquote><p>The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property). <strong>The 'display' is ignored, unless it has the value 'none'</strong>.</p></blockquote>
<p>It is because of the fact that <code>display</code> is ignored, and IE6 also has another weird bug that causes the first line of an inline element to be margined, a beautiful solution was created to fix the bug - add <code>display: inline</code>. This will correct IE6 and 5 but does not affect all other browsers that follow standards.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.float-left-element</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>This is an important fix for cross-browser CSS development that all should remember.</p>
<h4>Method 2: Wrapper</h4>
<p>An old solution is to wrap the existing element with a floating wrapper. The wrapper will float and contain the element that wishes to have margins.<br />
The HTML will be:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;float-left-container&quot;&gt;
&lt;div class=&quot;float-left-element&quot;&gt;
	... content ...&lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<p>This CSS will be:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.float-left-container</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">110px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/* inner element width + margin */</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.float-left-element</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>This method is not recommended since it creates an extra container just to fix the problem.</p>
<h3>References</h3>
<ul>
<li> <a href="http://www.positioniseverything.net/explorer/doubled-margin.html">The IE5/6 Doubled Float-Margin Bug </a></li>
<li><a href="http://www.positioniseverything.net/explorer/floatIndent.html">Floats, Margins and IE</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-float-element-margin-doubled/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer CSS Issue: Inline Element Has Width</title>
		<link>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-inline-element-has-width/</link>
		<comments>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-inline-element-has-width/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 05:11:22 +0000</pubDate>
		<dc:creator>Anubis From Memphis</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming Knowledge]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://studio.anubisfrommemphis.com/?p=250</guid>
		<description><![CDATA[Issue
Inline elements such as &#60;span&#62;, &#60;a&#62;, &#60;label&#62; are not suppose to have width. According to the W3C standards, the following snippet should not work and is invalid:

span &#123;
	width: 40px;
&#125;

However, the above code will actually work in IE, making the inline element 40 pixels wide.
Internet Explorer (IE) has been well known as the most W3C incompatible [...]]]></description>
			<content:encoded><![CDATA[<h3>Issue</h3>
<p>Inline elements such as <code>&lt;span&gt;</code>, <code>&lt;a&gt;</code>, <code>&lt;label&gt;</code> are not suppose to have width. According to the W3C standards, the following snippet should not work and is invalid:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">span <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">40px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>However, the above code will actually work in IE, making the inline element 40 pixels wide.</p>
<p>Internet Explorer (IE) has been well known as the most W3C incompatible browser. In particular Internet Explorer 6 (IE6), is far most the worst of its kind. Most web development jobs involving front-end design, will spend most of their debugging time on issues relating to IE6 and other IE. For a complete list of issues, see <a href="http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issues-solutions/">Internet Explorer CSS Issues &amp; Solutions</a>.</p>
<p><span id="more-250"></span></p>
<h3>Solution</h3>
<p>To fix the problem, is to turn the inline into a block element by using the <code>display</code> property.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">span <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">40px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>I strongly recommend not to use this fix unless you absolutely have to, since this essentially breaks the inline and block element definitions.</p>
]]></content:encoded>
			<wfw:commentRss>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-inline-element-has-width/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer CSS Issue: Fixed Width Container Centering</title>
		<link>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-fixed-width-container-centering/</link>
		<comments>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-fixed-width-container-centering/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 04:53:36 +0000</pubDate>
		<dc:creator>Anubis From Memphis</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming Knowledge]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://studio.anubisfrommemphis.com/?p=238</guid>
		<description><![CDATA[Issue
When you have a fixed with website that is centered on the page, you would normally use the margin or text-align properties like this:

#container &#123;
	width: 750px;
	margin: 0 auto
&#125;

However, this may not always work since IE has interesting ways of calculating margin and box model.
Internet Explorer (IE) has been well known as the most W3C incompatible [...]]]></description>
			<content:encoded><![CDATA[<h3>Issue</h3>
<p>When you have a fixed with website that is centered on the page, you would normally use the margin or text-align properties like this:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">750px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>However, this may not always work since IE has interesting ways of calculating margin and box model.</p>
<p>Internet Explorer (IE) has been well known as the most W3C incompatible browser. In particular Internet Explorer 6 (IE6), is far most the worst of its kind. Most web development jobs involving front-end design, will spend most of their debugging time on issues relating to IE6 and other IE. For a complete list of issues, see <a href="http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issues-solutions/">Internet Explorer CSS Issues &#038; Solutions</a>.</p>
<p><span id="more-238"></span></p>
<h3>solution</h3>
<p>To fix the problem, first center align content in the <em>body</em> tag then re-assign text alignment to left for the container:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">770px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-fixed-width-container-centering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer CSS Issues &amp; Solutions</title>
		<link>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issues-solutions/</link>
		<comments>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issues-solutions/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 04:50:51 +0000</pubDate>
		<dc:creator>Anubis From Memphis</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming Knowledge]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://studio.anubisfrommemphis.com/?p=229</guid>
		<description><![CDATA[Internet Explorer (IE) has been well known as the most W3C incompatible browser. In particular Internet Explorer 6 (IE6), is far most the worst of its kind. Most web development jobs involving front-end design, will spend most of their debugging time on issues relating to IE6 and other IE.
This post keeps a record of IE [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer (IE) has been well known as the most W3C incompatible browser. In particular Internet Explorer 6 (IE6), is far most the worst of its kind. Most web development jobs involving front-end design, will spend most of their debugging time on issues relating to IE6 and other IE.</p>
<p>This post keeps a record of IE CSS bugs and fixes. You may find it useful when trying to find or correct styling problems by checking against the following list:</p>
<ul>
<li><a href="http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-fixed-width-container-centering/"><strong><a href="http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-float-element-margin-doubled/">Float Element Margin Doubled</a></strong></a></li>
<li><a href="http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-fixed-width-container-centering/">Fixed Width Container Centering</a></li>
<li><a href="http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issue-inline-element-has-width/">Inline Element Has Width</a></li>
</ul>
<p>I will constantly update this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://studio.anubisfrommemphis.com/blog/internet-explorer-css-issues-solutions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Who Think JavaScript Cannot Go 3D?</title>
		<link>http://studio.anubisfrommemphis.com/blog/who-think-javascript-cannot-go-3d/</link>
		<comments>http://studio.anubisfrommemphis.com/blog/who-think-javascript-cannot-go-3d/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 23:09:47 +0000</pubDate>
		<dc:creator>Anubis From Memphis</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming Knowledge]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://studio.anubisfrommemphis.com/?p=183</guid>
		<description><![CDATA[When I first viewed the demo, my first reaction was to right-click and check whether the 3D canvas is not Flash-based. Amazingly, the demo is constructed purely in JavaScript with a bit of rendering assistance from the new canvas tag in HTML 5. You must check this out and take a glimpse at the future [...]]]></description>
			<content:encoded><![CDATA[<div class="ngg-singlepic ngg-center" style="width: 320px;">
    <a href="http://studio.anubisfrommemphis.com/wordpress/wp-content/gallery/referenced-images/gyuque_3d_javascript.jpg" title="source: d.hatena.ne.jp/gyuque" class="thickbox" rel="singlepic17" >
        <img class="ngg-singlepic ngg-center" src="http://studio.anubisfrommemphis.com/wordpress/wp-content/gallery/cache/17__320x240_gyuque_3d_javascript.jpg" alt="Satoshi Ueyama&#039;s 3D JavaScript Demo" title="Satoshi Ueyama&#039;s 3D JavaScript Demo" />
        <span class="caption">source: d.hatena.ne.jp/gyuque</span>
    </a>
</div>

<p>When I first viewed the demo, my first reaction was to right-click and check whether the 3D canvas is not Flash-based. Amazingly, the demo is constructed purely in JavaScript with a bit of rendering assistance from the new canvas tag in HTML 5. You must check this out and take a glimpse at the future of the 3D web.</p>
<p><span id="more-183"></span>Here are the demo ( The scripts will use a lot of resources, browsing using Google Chrome is recommended ) :</p>
<ul>
<li><a href="http://gyu.que.jp/jscloth/" target="_blank">Demo 1 - 3D texture mapped with physical computing</a></li>
<li><a href="http://gyu.que.jp/jscloth/miku.html" target="_blank">Demo 2 - Hatsune Miku 3D</a></li>
<li><a href="http://gyu.que.jp/jscloth/touch.html" target="_blank">Demo 3 - 3D iPod touch with environment mapping</a></li>
</ul>
<h3>References</h3>
<ul>
<li><a href="http://hemiolia.com/blog/200902/000150">hemiolia.com - 30 Japanese geeks you should follow on Twitter</a></li>
<li><a href="http://kawanet.blogspot.com/2009/02/incredible-javascriptcanvas-3d-demos.html">Kawa.net Tech Blog - Incredible JavaScript+Canvas 3D demos from Japan!<br />
</a></li>
<li><a href="http://d.hatena.ne.jp/gyuque/20090211#1234364019">最速チュパカブラ研究会 - Texture Mapping with HTML Canvas And Performance Tuning</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://studio.anubisfrommemphis.com/blog/who-think-javascript-cannot-go-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Shortcode API</title>
		<link>http://studio.anubisfrommemphis.com/blog/wordpress-shortcode-api/</link>
		<comments>http://studio.anubisfrommemphis.com/blog/wordpress-shortcode-api/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 22:09:28 +0000</pubDate>
		<dc:creator>Anubis From Memphis</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming Knowledge]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://studio.anubisfrommemphis.com/?p=129</guid>
		<description><![CDATA[Though I have been using WordPress for over a year, some of its features still amaze and surprise me.
One of these features is the Shortcode API since version 2.5. As many would have used to insert photo galleries in a post, shortcodes are used to place custom "tags" in the content, which later will be [...]]]></description>
			<content:encoded><![CDATA[<p>Though I have been using <a href="http://www.wordpress.org">WordPress</a> for over a year, some of its features still amaze and surprise me.</p>
<p>One of these features is the <a href="http://codex.wordpress.org/Shortcode_API">Shortcode API</a> since version 2.5. As many would have used to insert photo galleries in a post, shortcodes are used to place custom "tags" in the content, which later will be converted or processed by WordPress or plugins. </p>
<p><span id="more-129"></span></p>
<p>For example:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;">[gallery id=&quot;123&quot; size=&quot;medium&quot;]</pre></td></tr></table></div>

<p>The shortcode API processes the 'id' and 'size' attributes without the need to write regular expressions for string matching. Many have utilized this mechanism to construct a user-friendly environment for insert images, thumbnails, Google ads and more.</p>
<h3>References</h3>
<ul>
<li><a href="http://codex.wordpress.org/Shortcode_API">WordPress - Shortcode API</a></li>
<li><a href="http://wordpress.la/shortcodes.html">精通 WordPress 簡碼</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://studio.anubisfrommemphis.com/blog/wordpress-shortcode-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

