<?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>CMZ Media Developer</title>
	<atom:link href="http://developer.cmzmedia.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://developer.cmzmedia.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 08 Jul 2010 20:26:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>cufón vs. @font-face</title>
		<link>http://developer.cmzmedia.com/?p=566</link>
		<comments>http://developer.cmzmedia.com/?p=566#comments</comments>
		<pubDate>Thu, 08 Jul 2010 20:21:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=566</guid>
		<description><![CDATA[Okay, I just did my first &#8220;cufón vs. @font-face&#8221; comparison and cufón ended up looking way better. These tests are from my online resume where I have been using cufón for quite some time to display the headers in the Kon Tiki Kona font (you won&#8217;t be able to tell the difference unless you are [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I just did my first &#8220;cufón vs. @font-face&#8221; comparison and cufón ended up looking way better. These tests are from my <a href="http://resume.christianziebarth.com/">online resume</a> where I have been using <a href="http://cufon.shoqolate.com/generate/">cufón</a> for quite some time to display the headers in the <a href="http://new.myfonts.com/fonts/jawfonts/kon-tiki-kona-jf/">Kon Tiki Kona font</a> (you won&#8217;t be able to tell the difference unless you are viewing this article <a href="http://developer.cmzmedia.com/?p=566">on its own</a>; if you view it from the front page of the blog both images will appear squished):</p>
<h3>@font-face Test</h3>
<p><img src="http://developer.cmzmedia.com/wp-content/uploads/2010/07/fontface.gif" alt="font-face test" class="key" /></p>
<h3>cufón Test</h3>
<p><img src="http://developer.cmzmedia.com/wp-content/uploads/2010/07/cufon.gif" alt="cufón test" class="key" /></p>
<h4>Conclusion</h4>
<p>Unless I can find a way to get lettering displayed with the CSS <code>@font-face</code> property to turn up clearer I may be forced to stick with cufón for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=566</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Oft-overlooked Overline</title>
		<link>http://developer.cmzmedia.com/?p=541</link>
		<comments>http://developer.cmzmedia.com/?p=541#comments</comments>
		<pubDate>Sat, 19 Jun 2010 21:36:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=541</guid>
		<description><![CDATA[When I started learning about CSS in 1999 one of the CSS values I learned about was that of overline for the text-decoration property. It didn&#8217;t seem to have much to use it for but I did stumble across one website where overline and underline effects were added to links when hovered over.

A short time [...]]]></description>
			<content:encoded><![CDATA[<p>When I started learning about CSS in 1999 one of the CSS values I learned about was that of <code>overline</code> for the <code>text-decoration</code> property. It didn&#8217;t seem to have much to use it for but I did stumble across one website where overline <em>and</em> underline effects were added to links when hovered over.</p>
<p><img src="http://www.lionking.org/images/title.jpg" alt="The Lion King - Title Treatment" class="key" /></p>
<p>A short time later I started a site at <a href="http://radio.lionking.org/">http://radio.lionking.org</a> and since the title treatment for this animated film has an overline effect in it I decided to add one with CSS to the title of my site. The <code>H1</code> for the title is as follows:</p>
<p><code>&lt;h1&gt;R&lt;span&gt;ADIO&lt;/span&gt;&nbsp;L&lt;span&gt;ION&nbsp;KIN&lt;/span&gt;G&lt;/h1&gt;</code></p>
<p>Using my old school CSS techniques from &#8220;The Year 2000&#8243; I set the base <code>font-size</code> for the <code>H1</code> to 70 pixels (I might change it to an <code>em</code>-based sizing sometime) then set anything wrapped within a <code>SPAN</code> in the <code>H1</code> to 75% of that. Then the second <code>SPAN</code> (the one that needs the overline effect) has <code>text-decoration: overline;</code> applied to it. The result, which turned out quite well, can be seen below or at the site:<span id="more-541"></span></p>
<p><img src="http://developer.cmzmedia.com/wp-content/uploads/2010/06/rlk.gif" alt="Radio Lion King - HTML/CSS Title" class="key" /></p>
<p>As evidence that the overline property is not being completely ignored the <a href="http://www.w3.org/TR/2002/WD-css3-text-20021024/#text-overline-style">CSS3 Working Draft</a> provides for extra overline styles that will allow for different visual appearances and colors for overlines applied to text. My initial testing showed that none of these are supported yet by mass-market browsers, but keep in mind that they may be supported at some point in the future. They have a &#8220;thick&#8221; property but I wish they also had a &#8220;thin&#8221; one because in the example I am showcasing here the overline <em>could</em> stand to be a little thinner.</p>
<p>Has anyone else seen any other legitimate uses of <code>overline</code>?</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=541</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML &amp; CSS: The Good Parts</title>
		<link>http://developer.cmzmedia.com/?p=530</link>
		<comments>http://developer.cmzmedia.com/?p=530#comments</comments>
		<pubDate>Thu, 27 May 2010 02:36:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=530</guid>
		<description><![CDATA[
In twelve-plus years of working with HTML I&#8217;ve noticed that many web developers take a crash course in it, learn a few basics, then &#8220;move on&#8221; to the &#8220;real stuff.&#8221; While HTML is admittedly easy to learn and not super difficult to master there are still many concepts relating to it which seem to be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/gp/product/0596157606?ie=UTF8&#038;tag=christianziebart&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0596157606"><img src="http://developer.cmzmedia.com/wp-content/uploads/2010/05/htmlcssgoodparts.jpg" alt="HTML &#038; CSS: The Good Parts" class="key" /></a></p>
<p>In twelve-plus years of working with HTML I&#8217;ve noticed that many web developers take a crash course in it, learn a few basics, then &#8220;move on&#8221; to the &#8220;real stuff.&#8221; While HTML is admittedly easy to learn and not super difficult to master there are still many concepts relating to it which seem to be ignored or are maybe completely unheard of in the web development world. When these concepts are grasped they significantly increase productivity, clarity of code, ease-of-maintenance, etc. But so many people seem content to live without these benefits. In my own development experience I&#8217;ve come to be aware of many of these concepts but thought they were too idiosyncratic to bring up to other people. But the book I&#8217;m currently reading, <cite>HTML &#038; CSS: The Good Parts</cite> by Ben Henick and published by O&#8217;Reilly Press, crystallizes my thought process on these matters and shows that they really are important to sites of any size. This is not a book to learn HTML or CSS from. It exists at an intermediate or perhaps advanced level but any serious web developer wanting to perfect their coding practices will benefit from reading this book. As I write this I am on page 68 in the book so I may add more to this entry later.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=530</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The circular DIV</title>
		<link>http://developer.cmzmedia.com/?p=448</link>
		<comments>http://developer.cmzmedia.com/?p=448#comments</comments>
		<pubDate>Fri, 05 Feb 2010 07:58:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=448</guid>
		<description><![CDATA[Looking through some coupons for my local grocery store I saw what hit my web developer&#8217;s eye as a circular DIV and I wondered if I could create it in HTML/CSS. I realized that it would make sense to make a square DIV (equal width and height) with a border radius set to half of [...]]]></description>
			<content:encoded><![CDATA[<p>Looking through some coupons for my local grocery store I saw what hit my web developer&#8217;s eye as a circular DIV and I wondered if I could create it in HTML/CSS. I realized that it would make sense to make a square DIV (equal width and height) with a border radius set to half of what the value is for the width and height which would then turn each complete corner of the square into a curve and four curves would meet up and form a perfect circle. Even then I imagined I might have to go through a couple hours of fine-tuning to perfect it, if it was even going to work at all, but it turned out to work perfectly right away, with the usual caveat that it only works in browsers that support the <code>border-radius</code> property, or some proprietary variant thereof (i.e., not IE).</p>
<p>For those readers viewing this on a browser with decent CSS support the following style rules:</p>
<ol class="codeSample">
<li>{</li>
<li>background-color: #BD8B00;</li>
<li>border: 3px solid #990000;</li>
<li>width: 200px;</li>
<li>height: 200px;</li>
<li>-moz-border-radius: 100px;</li>
<li>}</li>
</ol>
<p>should produce a perfectly circular DIV here:<span id="more-448"></span></p>
<div style="background: #BD8B00; border: 3px solid #990000; width: 200px; height: 200px; margin-bottom: 11px; -moz-border-radius: 100px;"></div>
<h3>Current Drawbacks</h3>
<h4>Border Style Restrictions</h4>
<p>Unfortunately it appears that the only <code>border-style</code> type a circular DIV can properly show is &#8220;solid.&#8221; I have tried other values and they all produced funny results or end up looking as though they were just set to &#8220;solid&#8221; anyway:</p>
<h5>Dotted</h5>
<div style="background: #BD8B00; border: 3px dotted #990000; width: 200px; height: 200px; margin: 11px 0px; -moz-border-radius: 100px;"></div>
<h5>Dashed</h5>
<div style="background: #BD8B00; border: 3px dashed #990000; width: 200px; height: 200px; margin: 11px 0px; -moz-border-radius: 100px;"></div>
<h5>Groove</h5>
<div style="background: #BD8B00; border: 3px groove #990000; width: 200px; height: 200px; margin: 11px 0px; -moz-border-radius: 100px;"></div>
<h4>Padding Issues</h4>
<p>When you place elements within your circular DIV they behave as though it was rectangular:</p>
<div style="background: #BD8B00; border: 3px solid #990000; width: 200px; height: 200px; margin-bottom: 11px; -moz-border-radius: 100px;">
<p>The quick brown fox jumped over the lazy dog.</p>
</div>
<p>Of course that happens when any amount of radius is applied to a DIV&#8217;s border and the problem is solved by properly applying padding:</p>
<div style="background: #BD8B00; border: 3px solid #990000; width: 180px; height: 115px; margin-bottom: 11px; -moz-border-radius: 100px; padding: 75px 10px 10px; text-align: center;">
<p>The quick brown fox jumped over the lazy dog.</p>
</div>
<h3>Rotate It!</h3>
<p>Why not have a little fun by applying the transform property?:</p>
<div style="background: #BD8B00; border: 3px solid #990000; width: 180px; height: 115px; margin-bottom: 11px; -moz-border-radius: 100px; padding: 75px 10px 10px; text-align: center; -moz-transform: translate(10px, 4px) scale(.9, .9) rotate(30deg); -webkit-transform: translate(10px, 4px) scale(.9, .9) rotate(30deg);">
<p>The quick brown fox jumped over the lazy dog.</p>
</div>
<h3>What About IE?</h3>
<p>While I recognize the improvements in CSS support that came to versions 7 and 8 of Microsoft&#8217;s Internet Explorer it&#8217;s sad to say that circular DIVs (in my testing <em>so far</em>) have not worked in any version of IE even with the aid of <a href="http://www.malsup.com/jquery/corner/">jQuery Rounded Corners</a> or <a href="http://ragamo.medioclick.com/jquery/corners/">jQuery Canvas Rounded Corners</a> or <a href="http://blue-anvil.com/jquerycurvycorners/test.html">jQuery Curvy Corners</a>. Alas, we await support hopefully no later than IE 9. I have had some success with several potential jQuery solutions but no reliable cross-browser solution as of yet.</p>
<h3>Post Script</h3>
<p>After I wrote this entry I found <a href="http://www.dillerdesign.com/experiment/DD_roundies/">this article</a> that also has a round DIV in it, but also has IE troubles, even with IE8.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=448</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Rumors of the Death of XHTML Have Been Greatly Exaggerated</title>
		<link>http://developer.cmzmedia.com/?p=430</link>
		<comments>http://developer.cmzmedia.com/?p=430#comments</comments>
		<pubDate>Wed, 02 Sep 2009 05:45:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=430</guid>
		<description><![CDATA[Just found this web comic at Smashing Magazine which attempts to clear up some of the misunderstandings about XHTML and HTML 5.


The interesting thing about it is that it reminds me of when I got into a discussion with somebody about this very topic at the SitePoint forums. This guy was going into great detail [...]]]></description>
			<content:encoded><![CDATA[<p>Just found this web comic at <a href="http://www.smashingmagazine.com/2009/07/29/misunderstanding-markup-xhtml-2-comic-strip/">Smashing Magazine</a> which attempts to clear up some of the misunderstandings about XHTML and HTML 5.</p>
<p><a href="http://media2.smashingmagazine.com/wp-content/uploads/images/xhtml2-html5/comic-960px.jpg"><img src="http://developer.cmzmedia.com/images/comic-960px.gif" alt="Web Comic" class="key" /></a><br />
<span id="more-430"></span><br />
The interesting thing about it is that it reminds me of when I got into a discussion with somebody about this very topic at the SitePoint forums. This guy was going into great detail about all the things wrong with XHTML. On one hand, I could see the truth behind many of the points he was making. On the other hand, I&#8217;ve never seen that any of my XHTML pages were breaking the Internet and it also seemed to me that if you really, really wanted to switch from XHTML to HTML 5 that all you would have to do is simply change the document type declaration. Well, this web comic confirms that that is indeed the case.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=430</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cooliris/flickr</title>
		<link>http://developer.cmzmedia.com/?p=413</link>
		<comments>http://developer.cmzmedia.com/?p=413#comments</comments>
		<pubDate>Sat, 01 Aug 2009 04:37:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cooliris]]></category>
		<category><![CDATA[flickr]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=413</guid>
		<description><![CDATA[
So, I just found out about Cooliris recently even though it&#8217;s been around for a while. I downloaded the plugin and tried out some of their code to get flickr albums to show up in it and I got one working. Here&#8217;s an example that you will see if you have the plugin installed (Continue [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://developer.cmzmedia.com/images/coolirisflickr.jpg" alt="Cooliris/flickr Example" class="key" /></p>
<p>So, I just found out about <a href="http://www.cooliris.com/">Cooliris</a> recently even though it&#8217;s been around for a while. I downloaded the plugin and tried out some of their code to get <a href="http://www.flickr.com">flickr</a> albums to show up in it and I got one working. Here&#8217;s an example that you will see if you have the plugin installed (<a href="http://developer.cmzmedia.com/?p=413">Continue reading&#8230;</a>): <span id="more-413"></span></p>
<p><object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="590" height="400"><param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="feed=api://www.flickr.com/?album=72157621259682746" /><embed type="application/x-shockwave-flash" src="http://apps.cooliris.com/embed/cooliris.swf" flashvars="feed=api://www.flickr.com/?album=72157621259682746" width="590" height="400" allowFullScreen="true" allowScriptAccess="always"></embed></object></p>
<p>Well, I&#8217;ll be darned if the very next day I didn&#8217;t see that flickr is now Cooliris-enabled. If you have Cooliris installed and you are looking at flickr and hover over an image the Cooliris launch icon will appear in the lower left-hand corner (see example photo at top of entry) and you can click on that and launch your image (or album even) in super awesome Cooliris style.</p>
<p>Going to look for some more uses of Cooliris, including possibly using it for a revamped web portfolio.</p>
<p><a href="http://www.cooliris.com"><img src="http://cooliris.com/static/images/badges/get_cooliris.png"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=413</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with Mozilla Transform</title>
		<link>http://developer.cmzmedia.com/?p=368</link>
		<comments>http://developer.cmzmedia.com/?p=368#comments</comments>
		<pubDate>Wed, 01 Jul 2009 07:36:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=368</guid>
		<description><![CDATA[Firefox 3.5 just got released and with the upgrade has come some enhanced CSS support. The thing that&#8217;s capturing my attention first is the -moz-transform property that basically allows you to spin web page elements in two- and three-dimensional space (although 3D transformations are not supported yet; sorry, Z-axis). There is also a Webkit version [...]]]></description>
			<content:encoded><![CDATA[<p>Firefox 3.5 <a href="http://en-us.www.mozilla.com/en-US/">just got released</a> and with the upgrade has come some enhanced CSS support. The thing that&#8217;s capturing my attention first is the <code><a href="https://developer.mozilla.org/En/CSS/-moz-transform">-moz-transform</a></code> property that basically allows you to spin web page elements in two- and three-dimensional space (although 3D transformations are not supported yet; sorry, Z-axis). There is also a Webkit version (for Safari and Chrome) named: <code>-webkit-transform</code>. These are both proprietary versions of the W3C-recommended <code><a href="http://www.w3.org/TR/css3-2d-transforms/">transform</a></code> property, which is only for transforming elements in two-dimensional space.</p>
<p>Let&#8217;s look at an example. Here is the blog&#8217;s logo with a border added to its <code>DIV</code> and a little text thrown in so you can see better what&#8217;s happening when it gets transformed:</p>
<div id="logo"><img src="http://developer.cmzmedia.com/images/logo.gif" alt="Logo" /><br />Like my logo?</div>
<p>And here is the logo transformed:<span id="more-368"></span></p>
<div id="tr-logo"><img src="http://developer.cmzmedia.com/images/logo.gif" alt="Logo" /><br />Like my logo?</div>
<p>And here is the code for the <code>DIV</code>:</p>
<ol class="codeSample">
<li>#tr-logo</li>
<li>{</li>
<li>width: 205px;</li>
<li>margin: 2.2em;</li>
<li>padding: 4px;</li>
<li>border: solid #990000;</li>
<li>text-align: center;</li>
<li>-moz-transform: translate(10px, 4px) scale(.8, .6) rotate(30deg);</li>
<li>-moz-transform-origin: 60% 100%;</li>
<li>-webkit-transform: translate(10px, 4px) scale(.8, .6) rotate(30deg);</li>
<li>-webkit-transform-origin: 60% 100%;</li>
<li>}</li>
</ol>
<p>In the <code>-moz-transform</code> property, the <code>translate</code> value &#8220;pushes&#8221; the element to a spot on the grid. In this case the element is pushed 10 pixels to the right on the X-axis (a negative value would push it to the left) and 4 pixels down on the Y-axis (a negative value would push it up, which I find to be a little counterintuitive). The <code>scale</code> value scales the width and the height of the element. Here I have the element scaled to 80% of its original width and 60% of its original height. It should be pretty obvious what the <code>rotate</code> value does. Here the element is getting rotated 30 degrees. </p>
<p>It goes without saying that if you&#8217;re not looking at this in a browser that supports this property you won&#8217;t see the effect. We&#8217;ll look into this property more later and see if we can even find a practical use for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=368</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tables and Forms</title>
		<link>http://developer.cmzmedia.com/?p=349</link>
		<comments>http://developer.cmzmedia.com/?p=349#comments</comments>
		<pubDate>Tue, 19 May 2009 06:39:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=349</guid>
		<description><![CDATA[In my prior entry entitled Tables vs. Tables I reminded us all, myself included, that the W3C says that web authors are allowed to use HTML tables to lay out forms. This flies in the face of much conventional &#8220;wisdom&#8221; that says HTML tables are never to be used for anything. But it struck me [...]]]></description>
			<content:encoded><![CDATA[<p>In my prior entry entitled <a href="/?p=71">Tables vs. Tables</a> I reminded us all, myself included, that the W3C says that web authors <em>are</em> allowed to use HTML tables to lay out forms. This flies in the face of much conventional &#8220;wisdom&#8221; that says HTML tables are never to be used for <em>anything</em>. But it struck me not too long ago that forms really ARE tables that are simply waiting for <em>some</em> of their data to be filled in.</p>
<p>Allow me to illustrate. Here is a simple table that I don&#8217;t think anyone would argue really is a table:</p>
<h3>Example #1</h3>
<h4>Table</h4>
<table cellpadding="0" cellspacing="0">
<tr>
<td>First Name:</td>
<td>Donald</td>
</tr>
<tr>
<td>Last Name:</td>
<td>Duck</td>
</tr>
<tr>
<td>Address:</td>
<td>1313 Duck Lane</td>
</tr>
<tr>
<td>Occupation:</td>
<td>Sailor</td>
</tr>
<tr>
<td>Girlfriend:</td>
<td>Daisy</td>
</tr>
</table>
<h3>Example #2</h3>
<h4>Form</h4>
<p>Now, what if we remove half the information, leave half the information, and wait for a user (Donald Duck, presumably) to fill in the remaining half:<span id="more-349"></span></p>
<form>
<table cellpadding="0" cellspacing="0">
<tr>
<td>First Name:</td>
<td>
<input type="text" /></td>
</tr>
<tr>
<td>Last Name:</td>
<td>
<input type="text" /></td>
</tr>
<tr>
<td>Address:</td>
<td>
<input type="text" /></td>
</tr>
<tr>
<td>Occupation:</td>
<td>
<input type="radio" /> Disc Jockey</p>
<input type="radio" /> Sailor</p>
<input type="radio" /> Undertaker</p>
</td>
</tr>
<tr>
<td>Girlfriend:</td>
<td>
<input type="text" /></td>
</tr>
</table>
</form>
<p>Does the form then become something other than a table? To me it is still basically a table.</p>
<h3>Example #3</h3>
<h4>Form That&#8217;s Even More Like a Table</h4>
<p>Now, let&#8217;s look at the form with the information plugged into the blank text fields:</p>
<form>
<table cellpadding="0" cellspacing="0">
<tr>
<td>First Name:</td>
<td>
<input type="text" value="Donald" /></td>
</tr>
<tr>
<td>Last Name:</td>
<td>
<input type="text" value="Duck" /></td>
</tr>
<tr>
<td>Address:</td>
<td>
<input type="text" value="1313 Duck Lane" /></td>
</tr>
<tr>
<td>Occupation:</td>
<td>
<input type="radio" /> Disc Jockey</p>
<input type="radio" checked="checked" /> Sailor</p>
<input type="radio" /> Undertaker</p>
</td>
</tr>
<tr>
<td>Girlfriend:</td>
<td>
<input type="text" value="Daisy" /></td>
</tr>
</table>
</form>
<p>Doesn&#8217;t it now look almost exactly like the first example?</p>
<h4>Post Script</h4>
<p>Before you jump all over me please realize that I am not saying that tables should be used for page layout (yes, I do my page layouts with DIVs and CSS). But, if after what I presented you have good reason to say that a web form should not be laid out using tables please let me know by leaving a comment. I am open to all points of view.</p>
<p>(Also, I&#8217;m not saying that tables or forms need to be presented in such a plain fashion. I am just making things simple here for purposes of illustration. See <a href="/?p=157">Data Tables, Lesson #2</a> for some instruction on how to dress up a table, and look for more such lessons in the future.)</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=349</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing Grufón</title>
		<link>http://developer.cmzmedia.com/?p=316</link>
		<comments>http://developer.cmzmedia.com/?p=316#comments</comments>
		<pubDate>Mon, 20 Apr 2009 21:36:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=316</guid>
		<description><![CDATA[I&#8217;m often finding or stumbling across new front end development techniques on the web, some of which I make a mental note to use sometime in the future and some of which I want to use right away. I recently found out about the grunge text effect at Janko Jovanovic&#8217;s blog and added it in [...]]]></description>
			<content:encoded><![CDATA[<p><span>I&#8217;m often finding</span> or stumbling across new front end development techniques on the web, some of which I make a mental note to use sometime in the future and some of which I want to use right away. I recently found out about the grunge text effect at <a href="http://www.jankoatwarpspeed.com/post/2008/08/09/Add-grunge-effect-to-text-using-simple-CSS.aspx">Janko Jovanovic&#8217;s blog</a> and added it in to this CMZ Media Developer blog about an hour ago. The effect currently shows up on the headers from level two through four (<code>H2</code> &#8211; <code>H4</code>); I may add it to other elements later on.</p>
<p>This technique utilizes a transparent PNG placed as the background image in a SPAN you include in the element you want to add the effect to. Since that will validate but it&#8217;s still a little on the hacky side I made it a little less hacky by using jQuery to write the SPAN in, like so:</p>
<ol class="codeSample">
<li>jQuery(&#8216;H3,H4&#8242;).append(&#8216;&lt;span&gt;&lt;/span&gt;&#8217;);</li>
</ol>
<p><span id="more-316"></span></p>
<h3>But, wait a second&hellip;</h3>
<p>You may be thinking to yourself, &#8220;But sometimes an <code>H2</code> on this blog has the grunge effect and sometimes it doesn&#8217;t.&#8221; That is because when you apply the grunge effect to an element it can no longer work as a link. To get to any specific entry on this blog from the front page you can get there by clicking the article title, which is wrapped in an <code>A</code> element which is then wrapped in an <code>H2</code> element, so I turn off the grunge effect on the <code>H2</code> elements on the front page with the jQuery URL plugin (which I <em>think</em> I got from <a href="http://projects.allmarkedup.com/jquery_url_parser/">here</a>) and the following jQuery code:</p>
<ol class="codeSample">
<li>if ( jQuery.jqURL.url() != &#8220;http://developer.cmzmedia.com/&#8221; ) {</li>
<li>jQuery(&#8216;H2&#8242;).append(&#8216;&lt;span&gt;&lt;/span&gt;&#8217;);</li>
<li>}</li>
</ol>
<p>Once you go to a specific article its <code>H2</code> no longer needs to act as a link so the grunge effect is turned back on.</p>
<h3>Welcome Grufón</h4>
<p>I have also found that you can add the grunge text effect to Cufón-enabled text. My name for it? &#8220;Grufón.&#8221; The Grufón effect currently appears on any <code>H2</code> element of this blog except for those on the front page.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=316</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cufón &#8211; Initial Thoughts</title>
		<link>http://developer.cmzmedia.com/?p=311</link>
		<comments>http://developer.cmzmedia.com/?p=311#comments</comments>
		<pubDate>Wed, 08 Apr 2009 07:12:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cufon]]></category>
		<category><![CDATA[sifr]]></category>

		<guid isPermaLink="false">http://developer.cmzmedia.com/?p=311</guid>
		<description><![CDATA[So I just implemented the new Cufón for the first time. I can&#8217;t show the page it&#8217;s on right now because that page is only in staging at the moment (UPDATE: the effect can now be seen on this blog as well as at my online resume and personal site). Cufón is a technique like [...]]]></description>
			<content:encoded><![CDATA[<p>So I just implemented the new <a href="http://wiki.github.com/sorccu/cufon/about">Cufón</a> for the first time. I can&#8217;t show the page it&#8217;s on right now because that page is only in staging at the moment (UPDATE: the effect can now be seen on this blog as well as at my <a href="http://resume.christianziebarth.com/">online resume</a> and <a href="http://www.christianziebarth.com/">personal site</a>). Cufón is a technique like <a href="http://wiki.novemberborn.net/sifr/">sIFR</a> for using unique fonts on a webpage. The Cufón page claims that sIFR is &#8220;painfully tricky to set up and use,&#8221; but I always found sIFR to be pretty simple and straightforward and setting up Cufón seemed to take just as much time. The new <a href="http://jquery.thewikies.com/sifr/">jQuery sIFR</a> is even better.</p>
<p>So, what is good about Cufón? Well, it seems to work faster than sIFR and it seems to be better than sIFR at handling larger blocks of text. You also don&#8217;t seem to need extra CSS to use Cufón.</p>
<p>Are there any drawbacks? Yes, the main one I can think of now is that, as far as I can tell, you can&#8217;t copy and paste Cufón text whereas sIFR text was copyable and pastable. Um, that&#8217;s the only one I can think of right now (in addition to the previously stated fact that the setup wasn&#8217;t simpler than sIFR&#8217;s setup), but it&#8217;s a big one. Here&#8217;s hoping the next version of Cufón addresses this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.cmzmedia.com/?feed=rss2&amp;p=311</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
