<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>DynamiX Labs</title>
	
	<link>http://www.dynamixlabs.com</link>
	<description />
	<lastBuildDate>Tue, 21 Apr 2009 12:14:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/DynamixLabs" type="application/rss+xml" /><item>
		<title>css: style an element with the span tag</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/poQb29FNud4/</link>
		<comments>http://www.dynamixlabs.com/2009/04/21/css-style-an-element-with-the-span-tag/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 12:14:42 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2009/04/21/css-style-an-element-with-the-span-tag/</guid>
		<description />
			<content:encoded><![CDATA[<p>Here&#8217;s the scenario: You have a div that looks like this:</p>
<div class="awesomediv">Synergistically enhance sticky data through excellent vortals. Seamlessly maximize resource maximizing convergence whereas low-risk high-yield testing procedures. Seamlessly evolve impactful total linkage before enterprise methodologies.</div>
<p>We named our div &#8220;awesomediv&#8221; for this example.</p>
<p><strong>Here&#8217;s the HTML:</strong><br />
<code>&lt;div class="awesomediv"&gt;Synergistically enhance sticky data through excellent vortals. Seamlessly maximize resource maximizing convergence whereas low-risk high-yield testing procedures. Seamlessly evolve impactful total linkage before enterprise methodologies.&lt;/div&gt;</code><strong>And the CSS:</strong><br />
<code>.awesomediv{background-color:#ccc;border:1px solid #666;padding:10px;width:360px;font-size:12px;text-align:left;}</code></p>
<p>Now let&#8217;s say that you want to style one of the sentences differently, but you don&#8217;t want to insert a bunch of inline css. You also don&#8217;t want to create a new Class or ID for the style. What do you do?</p>
<p><strong>The Answer.</strong><br />
First, wrap the sentence in a span tag:<br />
<code>&lt;div class="awesomediv"&gt;Synergistically enhance sticky data through excellent vortals. <strong>&lt;span&gt;</strong>Seamlessly maximize resource maximizing convergence whereas low-risk high-yield testing procedures.<strong>&lt;/span&gt;</strong> Seamlessly evolve impactful total linkage before enterprise methodologies.&lt;/div&gt;</code></p>
<p>Next, simply define that span tag within your stylesheet. Like this:<br />
<code>.awesomediv span{font-style:italic;font-weight:bold;color:orange;}</code></p>
<p>Here&#8217;s our end result:</p>
<div class="awesomediv">Synergistically enhance sticky data through excellent vortals. <span>Seamlessly maximize resource maximizing convergence whereas low-risk high-yield testing procedures.</span> Seamlessly evolve impactful total linkage before enterprise methodologies.</div>
<p>Now that was easy, wasn&#8217;t it? If you want to get even more creative, you could also style other elements such as the &#8220;strong&#8221; tag to behave differently than intended &#8211; though I warn you, unbolding the strong tag may anger the CSS gods.</p>
<p><strong>Compatibility:</strong><br />
This method has been tested in and is compatible with Internet Explorer 5.5, 6, 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).</p>
<p><strong>That’s all folks!</strong><br />
Thank you for taking the time to read one of our articles. If you still find yourself stuck, we’d be happy to lend a hand. Simply leave us a comment below, and we’ll do our best to help you out. Found something that we’ve missed? We’d love to hear it.</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=poQb29FNud4:ZAmUwUVHU8U:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=poQb29FNud4:ZAmUwUVHU8U:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=poQb29FNud4:ZAmUwUVHU8U:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=poQb29FNud4:ZAmUwUVHU8U:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=poQb29FNud4:ZAmUwUVHU8U:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/poQb29FNud4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2009/04/21/css-style-an-element-with-the-span-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2009/04/21/css-style-an-element-with-the-span-tag/</feedburner:origLink></item>
		<item>
		<title>css: make bold items STAND OUT</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/-hVByWqLLw4/</link>
		<comments>http://www.dynamixlabs.com/2009/04/21/css-make-bold-items-stand-out/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 11:51:36 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2009/04/21/css-make-bold-items-stand-out/</guid>
		<description />
			<content:encoded><![CDATA[<p>This one&#8217;s very easy, but it&#8217;s a great way to quickly increase the visibility of your bolded items.</p>
<p>Let&#8217;s say you have a gray color for your site&#8217;s font, but you want to make every bold item stand out in solid black. You could add unnecessary code such as <code>&lt;strong style="color:#000"&gt;BOLD&lt;/strong&gt;</code></p>
<p>But that&#8217;s neither clean nor necessary. Instead, you can apply this directly to all instances of bold with css.</p>
<p>Just add this to your stylesheet:<br />
<code>strong{color:#000;}</code></p>
<p>Now, you will see that the <strong>bolded items stand out much more</strong> when compared to the rest of your text.</p>
<p>Of course, you aren&#8217;t just limited to changing the font&#8217;s color. For example, we have defined the strong tag as a block element when used within certain divs. This provides us with a way to make each strong tag fall on it&#8217;s own line, without having to add a&lt;br /&gt; tag. To do that, simply use this code:<br />
<code>#YOURDIVNAME strong{color:#000;display:block;}</code></p>
<p>You can see an example of this in action by viewing the source code of <a href="http://www.dynamixwebdesign.com">DynamiX Web Design</a> under the &#8220;what makes us different&#8221; area.</p>
<p><strong>Compatibility:</strong><br />
This method has been tested in and is compatible with Internet Explorer 5.5, 6, 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).</p>
<p><strong>That’s all folks!</strong><br />
Thank you for taking the time to read one of our articles. If you still find yourself stuck, we’d be happy to lend a hand. Simply leave us a comment below, and we’ll do our best to help you out. Found something that we’ve missed? We’d love to hear it.</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-hVByWqLLw4:_awHuRJko6c:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-hVByWqLLw4:_awHuRJko6c:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-hVByWqLLw4:_awHuRJko6c:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-hVByWqLLw4:_awHuRJko6c:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-hVByWqLLw4:_awHuRJko6c:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/-hVByWqLLw4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2009/04/21/css-make-bold-items-stand-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2009/04/21/css-make-bold-items-stand-out/</feedburner:origLink></item>
		<item>
		<title>html: playing a YouTube video at a pretedermined time</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/bO--HpQOQ4I/</link>
		<comments>http://www.dynamixlabs.com/2009/02/26/html-playing-a-youtube-video-at-a-pretedermined-time/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 16:21:48 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2009/02/26/html-playing-a-youtube-video-at-a-pretedermined-time/</guid>
		<description />
			<content:encoded><![CDATA[<p>You just found the funniest YouTube video ever and want to post a link to it, but it doesn&#8217;t get funny until two minutes in. What do you do?</p>
<p>Thankfully, the folks at YouTube have made this painfully easy, by adding an extra variable to the end of the URL string. For example, if your funny moment starts at 30 seconds in, you would simply add &amp;start=30 to the end of the url.</p>
<p>Here&#8217;s a working example. We at DynamiX Labs love football, and enjoyed watching Rich Eisen (from NFL Network) run his 40 yard dash the other day at the Combine. For those who don&#8217;t know who Rich Eisen is, you may want to skip his intro speech, and go straight to his run. To do this, we simply embedded the video like this: http://www.youtube.com/watch?v=fZb3DRt6_Gk&amp;start=50</p>
<p>Here&#8217;s the full code for those who want a straight copy:<br />
<code>&lt;object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/fZb3DRt6_Gk&amp;start=50"&gt;&lt;param name="movie" value="http://www.youtube.com/v/fZb3DRt6_Gk&amp;start=50" /&gt;&lt;/object&gt;</code></p>
<p>That gets me exactly 50 seconds in, and just a moment before his run begins. See below.</p>
<p><object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/fZb3DRt6_Gk&#038;start=50"><param name="movie" value="http://www.youtube.com/v/fZb3DRt6_Gk&#038;start=50" /></object></p>
<p><strong>That&#8217;s all folks!</strong></p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=bO--HpQOQ4I:NNes_-id4rE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=bO--HpQOQ4I:NNes_-id4rE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=bO--HpQOQ4I:NNes_-id4rE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=bO--HpQOQ4I:NNes_-id4rE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=bO--HpQOQ4I:NNes_-id4rE:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/bO--HpQOQ4I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2009/02/26/html-playing-a-youtube-video-at-a-pretedermined-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2009/02/26/html-playing-a-youtube-video-at-a-pretedermined-time/</feedburner:origLink></item>
		<item>
		<title>css: hiding/showing the YouTube play/navigation bar on mouseover</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/77FZ1YwvI4Y/</link>
		<comments>http://www.dynamixlabs.com/2009/02/19/css-hidingshowing-the-youtube-playnavigation-bar-on-mouseover/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 15:01:31 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2009/02/19/css-hidingshowing-the-youtube-playnavigation-bar-on-mouseover/</guid>
		<description />
			<content:encoded><![CDATA[<p>We recently had a project wherein we needed to embed a collection of YouTube videos, but without the navigation bar. Now, with a little CSS this is very easy, but we also needed to allow visitors to pause, play and navigate the video when they moused over it. Thankfully, this is just as simple, and we&#8217;re going to show you how right here.</p>
<p><strong>Step 1: The HTML.</strong><br />
Simply encase your desired video in the div that you will be working with. Ours is named &#8220;sizeit.&#8221;<br />
<code>&lt;div id="sizeit"&gt;<br />
&lt;object type="application/x-shockwave-flash" width="425" height="355" data="http://www.youtube.com/v/bTRVq72gK04"&gt;<br />
&lt;param name="movie" value="http://www.youtube.com/v/bTRVq72gK04" /&gt;&lt;/object&gt;<br />
&lt;/div&gt;<br />
</code></p>
<p><strong>Step 2: The CSS.</strong><br />
<code>#sizeit {width:425px /*this is the normal width of your video*/;height:325px /*this is ~30px less than the defined height of your video*/;overflow:hidden;}<br />
#sizeit:hover{height:355px /*this is the normal height of your video*/;}</code></p>
<p><strong>Step 3: Fix IE 6</strong><br />
Since IE 6 likes to break everything cool, it&#8217;s no surprise that it doesn&#8217;t like this method. But with the use of csshover.htc, we can get this working in no time.</p>
<p>Add this just before your &lt;/head&gt; tag:<br />
<code>&lt;!--[if IE]&gt;<br />
&lt;style type="text/css"&gt; body{behavior: url(csshover.htc);} &lt;/style&gt;<br />
&lt;![endif]--&gt;</code></p>
<p>Adjust the url() field as needed, then save this file to your site: <a href="http://www.dynamixlabs.com/csshover.htc">csshover.htc</a></p>
<p>That&#8217;s it! IE 6 now at least acts like it knows what&#8217;s going on.</p>
<p><strong>Here&#8217;s the end result.</strong></p>
<div id="sizeit"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/bTRVq72gK04" height="355" width="425"><param name="movie" value="http://www.youtube.com/v/bTRVq72gK04"></param></object></div>
<p>Now that you have this working, it&#8217;s easy to style it to fit your look and feel. For example, you might want to make this video appear to play on a projector screen like we have done here:</p>
<div id="projectorscreen">
<div id="projector"><object type="application/x-shockwave-flash" width="369" height="320" data="http://www.youtube.com/v/bTRVq72gK04"><param name="movie" value="http://www.youtube.com/v/bTRVq72gK04" /></object></div>
</div>
<p><strong><a href="http://www.dynamixlabs.com/hide-youtube-controls.html">Click here to see the full example page</a>.</strong></p>
<p><strong>Compatibility:</strong><br />
This method has been tested in and is compatible with Internet Explorer 6 (with fix noted above), 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).</p>
<p><strong>That’s all folks!</strong><br />
Have any thoughts about this article? Let us know through the comment field below. We&#8217;d also love to see where you&#8217;ve used our method or improved upon it, comment it below for a free link <img src='http://www.dynamixlabs.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=77FZ1YwvI4Y:MdhqNiuq6vo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=77FZ1YwvI4Y:MdhqNiuq6vo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=77FZ1YwvI4Y:MdhqNiuq6vo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=77FZ1YwvI4Y:MdhqNiuq6vo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=77FZ1YwvI4Y:MdhqNiuq6vo:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/77FZ1YwvI4Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2009/02/19/css-hidingshowing-the-youtube-playnavigation-bar-on-mouseover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2009/02/19/css-hidingshowing-the-youtube-playnavigation-bar-on-mouseover/</feedburner:origLink></item>
		<item>
		<title>html: embedding a YouTube video WITH STYLES using xhtml strict code</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/-HHI-V85u_4/</link>
		<comments>http://www.dynamixlabs.com/2008/05/24/html-embedding-a-youtube-video-with-styles-using-xhtml-strict-code/#comments</comments>
		<pubDate>Sat, 24 May 2008 13:37:27 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[xhtml strict]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2008/05/24/html-embedding-a-youtube-video-with-styles-using-xhtml-strict-code/</guid>
		<description />
			<content:encoded><![CDATA[<p>You may have seen our original article, entitled &#8220;<a href="http://www.dynamixlabs.com/2008/02/07/html-embedding-a-youtube-video-using-xtml-strict-code/" rel="bookmark" title="Permanent Link: html: embedding a YouTube video using xtml strict code">html: embedding a YouTube video using xtml strict code</a>,&#8221; which works just fine if you are looking to turn the default, unstyled code that YouTube gives you into XHTML strict code. But what happens if you want to embed your YouTube video with all the neat, customized styles that they allow you to configure before copying their code for use on another site? We&#8217;re glad you asked and you&#8217;re in luck, it&#8217;s still just as easy to validate.</p>
<p><strong>Step 1: Get the code.</strong></p>
<p>If you have ever tried to embed a YouTube video before, you know it&#8217;s pretty easy. Simply find the video you like, look to the right under the &#8220;Embed&#8221; section, and get your code. In this case, we&#8217;re covering how to embed your video with styles intact, so you&#8217;ll also want to press the &#8220;Customize&#8221; button and make your video stand out. Here&#8217;s our example, taken straight from the YouTube web site.</p>
<p><strong>Example YouTube Code.</strong><code>&lt;object width="425" height="373"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ERuMIlyzWBA&amp;hl=en&amp;<br />
color1=0xe1600f&amp;color2=0xfebd01&amp;border=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/ERuMIlyzWBA&amp;hl=en&amp;color1=<br />
0xe1600f&amp;color2=0xfebd01&amp;border=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="373"&gt;&lt;/embed&gt;&lt;/object&gt; </code></p>
<p>As in our first article, this code will work, but will throw a myriad of unnecessary errors. It&#8217;s also a lot more code than necessary. So, how do we fix it? Let&#8217;s start by giving you the correct code, then moving in to what you&#8217;ll need to do to make it work for your video.</p>
<p><strong>Validated YouTube Code</strong><code>&lt;object type="application/x-shockwave-flash" width="425" height="373" data="http://www.youtube.com/v/ERuMIlyzWBA&amp;amp;hl=en<br />
&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;border=1"&gt;<br />
&lt;param name="movie" value="http://www.youtube.com/v/ERuMIlyzWBA&amp;amp;hl=en<br />
&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;border=1" /&gt;&lt;/object&gt;</code></p>
<p>This will work just as well as what YouTube provides, but with less code and with no validation errors. To make this code work for your video, here&#8217;s what you&#8217;ll do:</p>
<p>1. Modify new code example to include your particular YouTube video width and height.</p>
<p>2. Modify the data=&#8221;" and value=&#8221;" variables to include your YouTube link, maintaining the additional variables (in this case the full string is http://www.youtube.com/v/ERuMIlyzWBA&amp;hl=en&amp;<br />
color1=0xe1600f&amp;color2=0xfebd01&amp;border=1).</p>
<p>3. Replace all bare ampersand (&amp;) symbols in the data and value strings with &amp;amp;. The end result will look like this:<br />
http://www.youtube.com/v/ERuMIlyzWBA&amp;amp;hl=en&amp;amp;<br />
color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;border=1</p>
<p>That&#8217;s it! Just a touch more work than validating a standard (unstyled) YouTube video, but certainly nothing to lose any sleep over.</p>
<p><strong>See the end result in action!</strong></p><div class="center"><p style="padding:0px;margin:0px;"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/ERuMIlyzWBA&amp;hl=en&amp;color1=0xe1600f&amp;color2=0xfebd01&amp;border=1" height="373" width="425"><param name="movie" value="http://www.youtube.com/v/ERuMIlyzWBA&amp;hl=en&amp;color1=0xe1600f&amp;color2=0xfebd01&amp;border=1"></param></object></p></div><p></p>
<p>Missed our first article? You can find that <a href="http://www.dynamixlabs.com/2008/02/07/html-embedding-a-youtube-video-using-xtml-strict-code/" title="YouTube XHTML Strict">here</a>. Interested in learning more about how to utilize YouTube in your business? Then you&#8217;ll love another one of our articles entitled <a href="http://www.dynamixwebdesign.com/blog/2008/01/03/a-quick-look-youtube-and-what-it-could-mean-for-your-business/">A quick look: YouTube and what it could mean for your business</a></p>
<p><strong>Compatibility:</strong><br />
This method has been tested in and is compatible with Internet Explorer 5.5, 6, 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).</p>
<p><strong>That’s all folks!</strong></p>
<p>Thanks for reading! If you found one of our articles helpful, we would love to hear about it. Leave us a comment or send us an <a href="http://www.dynamixwebdesign.com/contact.php" title="Contact Us">e-mail</a>.</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-HHI-V85u_4:hiDk5TZbNMo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-HHI-V85u_4:hiDk5TZbNMo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-HHI-V85u_4:hiDk5TZbNMo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=-HHI-V85u_4:hiDk5TZbNMo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=-HHI-V85u_4:hiDk5TZbNMo:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/-HHI-V85u_4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2008/05/24/html-embedding-a-youtube-video-with-styles-using-xhtml-strict-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2008/05/24/html-embedding-a-youtube-video-with-styles-using-xhtml-strict-code/</feedburner:origLink></item>
		<item>
		<title>html: creating nested lists using valid xhtml code</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/eRZzjosef8Q/</link>
		<comments>http://www.dynamixlabs.com/2008/05/07/html-creating-nested-lists-using-valid-xhtml-code/#comments</comments>
		<pubDate>Wed, 07 May 2008 12:35:49 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2008/05/07/html-creating-nested-lists-using-valid-xhtml-code/</guid>
		<description />
			<content:encoded><![CDATA[<p>A nested list is essentially a sub-list, and can be very helpful when clarifying points in an unordered list. Unfortunately, many editors and programs do not properly format these lists in valid XHTML Strict code, resulting in needless errors. This first came to our attention when testing out a WYSIWYG editor without proper XHTML Strict support.</p>
<p>Here is an example of a simple unordered list with a nested element.</p>
<ul class="disc">
<li>A Point About Something
<ul>
<li>This bullet is making a point about something</li>
<li>And these bullets explain the main point</li>
</ul>
</li>
<li>Heres Another Main Point</li>
<li>And Another</li>
</ul>
<p>Now, the problem we&#8217;ve found is that some editors do not properly carry the &lt;li&gt; tag below the nested list. This is required for XHTML Strict validation, and as long as your editor does not automatically &#8220;correct&#8221; this, you should be able to fix this error in only a minute or two.</p>
<p><strong>Here&#8217;s the incorrect code:</strong><br />
<code> &lt;ul&gt;<br />
&lt;li&gt;A Point About Something<font color="#ff0000">&lt;/li&gt;</font><br />
&lt;ul&gt;<br />
&lt;li&gt;This bullet is making a point about something&lt;/li&gt;<br />
&lt;li&gt;And these bullets explain the main point&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;li&gt;Heres Another Main Point&lt;/li&gt;<br />
&lt;li&gt;And Another&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p>Depending on how long your list is, this will give you a boatload of unnecessary errors, including &#8220;<em>document type does not allow element &#8220;ul&#8221; here; assuming missing &#8220;li&#8221; start-tag,</em>&#8221; and &#8220;<em>end tag for &#8220;li&#8221; omitted, but OMITTAG NO was specified.</em>&#8221;</p>
<p>To fix this, all we&#8217;ll need to do is move that red highlighted &lt;/li&gt; tag below the nested list, after the &lt;/ul&gt; tag. We&#8217;ve now changed the color of that tag to blue to show you where it gets placed.</p>
<p><strong>Here&#8217;s the correct code:</strong><br />
<code> &lt;ul&gt;<br />
&lt;li&gt;A Point About Something<br />
&lt;ul&gt;<br />
&lt;li&gt;This bullet is making a point about something&lt;/li&gt;<br />
&lt;li&gt;And these bullets explain the main point&lt;/li&gt;<br />
&lt;/ul&gt;<font color="blue">&lt;/li&gt;</font><br />
&lt;li&gt;Heres Another Main Point&lt;/li&gt;<br />
&lt;li&gt;And Another&lt;/li&gt;<br />
&lt;/ul&gt;</code></p>
<p><strong>Compatibility:</strong><br />
This method has been tested in and is compatible with Internet Explorer 5.5, 6, 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).</p>
<p><strong>That’s all folks!</strong><br />
Thank you for taking the time to read one of our articles. If you still find yourself stuck, we&#8217;d be happy to lend a hand. Simply leave us a comment below, and we&#8217;ll do our best to help you out. Found something that we&#8217;ve missed? We&#8217;d love to hear it.</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=eRZzjosef8Q:1gXFUC194Ds:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=eRZzjosef8Q:1gXFUC194Ds:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=eRZzjosef8Q:1gXFUC194Ds:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=eRZzjosef8Q:1gXFUC194Ds:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=eRZzjosef8Q:1gXFUC194Ds:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/eRZzjosef8Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2008/05/07/html-creating-nested-lists-using-valid-xhtml-code/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2008/05/07/html-creating-nested-lists-using-valid-xhtml-code/</feedburner:origLink></item>
		<item>
		<title>html: resolving simple xhtml errors</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/cNG7qazhHu0/</link>
		<comments>http://www.dynamixlabs.com/2008/04/21/html-resolving-simple-xhtml-errors/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 00:38:42 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2008/04/21/html-resolving-simple-xhtml-errors/</guid>
		<description />
			<content:encoded><![CDATA[<p>Validation errors are most simply defined as inconsistencies between your web site code and the accepted standards (which will vary depending on your doctype declaration), and can have a negative impact on:</p>
<ol>
<li>Your search engine rankings<br />
<small>For example, a lack of alternate tags on your images could cost you in search engines, not to mention make your site hard on visitors with disabilities.</small></li>
<li>The way your site appears across multiple browsers<br />
<small>Think Internet Explorer verses Firefox or Safari. Each can sometimes interpret site code a little differently, especially when that code is poorly formed and tested.</small></li>
<li>The time it takes your web site to load<br />
<small>Some errors may cause the site to take longer to load, as your browser works to resolve duplicate commands and inconsistencies.</small></li>
</ol>
<p>If you haven&#8217;t taken a look at how your site stacks up, now would be a great time to do so. You can use <a href="http://validator.w3.org/">this link</a>. To make the check as useful as it can be, we&#8217;d suggest selecting the &#8220;More Options&#8221; link and choosing either &#8220;XHTML 1.0 Transitional&#8221; or &#8220;XHTML 1.0 Strict.&#8221;</p>
<p>Now, to make life easier on both you and us, we have created a page that outlines some common issues and how to correct them, in a greater detail than within this article. You can find that page right <a href="http://www.dynamixlabs.com/this-page-doesnt-validate.html">here</a>. Each of three common errors are explained in detail on that page. Briefly, here they are:</p>
<ol>
<li>Images without alternate tags<br />
<small>Alternate tags are quick, relevant descriptions used to tell search engines and web browsers what an image on your web site is. Think of Google sort of like a blind man. He can&#8217;t see pictures, but can read the &#8220;braille&#8221; (alternate tags) that tell him what your images are showing. If you leave this out, you&#8217;ll get more than a validation error, you&#8217;ll also miss out on a simple way to make your web site more efficient in search engines.</small></li>
<li>Those pesky ampersands (&amp;)<br />
<small>Ampersands are typically used to declare special characters. For instance, typing <strong>&#8220;™&#8221;</strong> will create this: ™, while <strong>&#8220;©&#8221;</strong> will provide this symbol: ©. The problem comes when an ampersand is used by itself, rather than in defining a character. This is a no no, and will cause validation errors on your web site. Luckily, these errors are easy to fix by replacing your naked &#8220;&amp;&#8221; symbols with <strong>&#8220;&amp;&#8221;</strong> instead (just don&#8217;t add the quotes when you type it!).</small></li>
<li>Unclosed tags<br />
<small>This one is also easy to fix, and can cut your error count drastically. If you are copying code from another tutorial, or writing it on your own, be very aware where you need to close your tags, and how. For instance, when writing a paragraph, you will need to start with a &lt;p&gt; tag, and end with a &lt;/p&gt; tag. For an image, you will need to end the image with an ending slash, like this: &lt;img src=&#8221;images/an-image.gif&#8221; <strong style="color: #ff0000">/</strong>&gt;</small><br />
<small></small></li>
</ol>
<p>Of course, this is just a <strong>very</strong> small and simple list of some of the errors we see most often, and ones which are easy to repair. Want to know more about an error we didn&#8217;t mention? There are tons out there. Just leave a comment and we&#8217;d be happy to lend a hand.</p>
<p>Got a record number of errors on your site? We want to hear what you&#8217;ve got, and whether you&#8217;ve nailed them all. Believe it or not, the most errors we have ever seen on a site is a <strong>whopping 4,803</strong>. No, we won&#8217;t tell who it was.</p>
<p><strong>Compatibility:</strong><br />
These methods are both simple and good practice for every web site. While this list is certainly not intended to provide a &#8220;how-to&#8221; for fixing every validation error on your web site, it will hopefully inspire you to check your current code, and to possibly write just a little bit cleaner the next time around. We all have to start somewhere, right?</p>
<p><strong>That’s all folks!</strong><br />
If you have an idea or article that you would like to contribute, send it on! We’re always looking for good, quality articles. Note that we will not republish an article that has been published elsewhere, so keep it original!</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=cNG7qazhHu0:zeI-2Vj67Vw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=cNG7qazhHu0:zeI-2Vj67Vw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=cNG7qazhHu0:zeI-2Vj67Vw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=cNG7qazhHu0:zeI-2Vj67Vw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=cNG7qazhHu0:zeI-2Vj67Vw:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/cNG7qazhHu0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2008/04/21/html-resolving-simple-xhtml-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2008/04/21/html-resolving-simple-xhtml-errors/</feedburner:origLink></item>
		<item>
		<title>design: creating rounded edges on images</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/t12JTSJYhDg/</link>
		<comments>http://www.dynamixlabs.com/2008/04/17/design-creating-rounded-edges-on-images/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 13:13:50 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2008/04/17/design-creating-rounded-edges-on-images/</guid>
		<description />
			<content:encoded><![CDATA[<p>We&#8217;ve all seen them, images with cleanly rounded edges. But, if you haven&#8217;t spent some time in photoshop, you may not know exactly how to go about creating these effects yourself in a way that&#8217;s straightforward, and doesn&#8217;t require the use of a plug in or action.</p>
<p>We&#8217;ll start with an image. Now, we have scaled this one down a little so that it will fit on our page, but yours can be any size.</p>
<p><strong>Here is ours:</strong><br />
<img src="http://www.dynamixlabs.com/images/odie1.jpg" alt="Odie, the DynamiX Labs mascot" /></p>
<p>Next, we will (using photoshop) select the Rounded Rectangle Tool. You can select anything you want for the radius (this controls how rounded your edges are), we chose 30px. Drag and create your rectangle over the area you would like to make rounded. If you are trying to create a perfect square, you can hold down shift as you drag to keep the proportions intact.</p>
<p><strong>Here&#8217;s where we are now:</strong><br />
<img src="http://www.dynamixlabs.com/images/odie2.jpg" alt="Where'd Odie go?" /></p>
<p>Next, making sure that the vector layer is selected (click on your shape in the toolbar until you see the small white border around it, as in our image above) click on &#8220;Fill&#8221; and change this value to 0. You should now see nothing but a thin white outline where the box once was visible. Move the box around a little if desired to get it perfectly around the area you wish to copy.</p>
<p><strong>Here&#8217;s how it should look:</strong><br />
<img src="http://www.dynamixlabs.com/images/odie3.jpg" alt="Odie's back." /></p>
<p>Next, select the &#8220;Paths&#8221; tab, you&#8217;ll find it just to the right of &#8220;Layers&#8221; and &#8220;Channels&#8221; on your toolbar. You&#8217;ll see a small icon on the right hand side with three horizontal lines. Click on that icon and select &#8220;Make Selection.&#8221;<br />
</p><div class="imgcenter"><p style="padding:0px;margin:0px;"><img src="http://www.dynamixlabs.com/images/odie4.jpg" alt="Odie's not even in this picture." /></p></div><p></p>
<p>Press OK at the next screen prompt.</p>
<p>Next, click &#8220;Edit&#8221; in the header menu and select &#8220;Copy Merged.&#8221; Open a new document and press paste, or paste directly into the current document. Your end result should be a nice, clean and clear rounded image.</p>
<p><strong>Here&#8217;s what we have to show for our work:</strong><br />
</p><div class="imgcenter"><p style="padding:0px;margin:0px;"><img src="http://www.dynamixlabs.com/images/odie.gif" alt="Odie's happy, and now he's in a rounded box." /></p></div><p></p>
<p><strong>Compatibility:</strong><br />
This method requires Adobe Photoshop or similar.</p>
<p><strong>That’s all folks!</strong><br />
If you have an idea or article that you would like to contribute, send it on! We’re always looking for good, quality articles. Note that we will not republish an a</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=t12JTSJYhDg:hx-8VMlqYU0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=t12JTSJYhDg:hx-8VMlqYU0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=t12JTSJYhDg:hx-8VMlqYU0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=t12JTSJYhDg:hx-8VMlqYU0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=t12JTSJYhDg:hx-8VMlqYU0:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/t12JTSJYhDg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2008/04/17/design-creating-rounded-edges-on-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2008/04/17/design-creating-rounded-edges-on-images/</feedburner:origLink></item>
		<item>
		<title>html: creating clean unordered lists</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/7ka0xR0-6CU/</link>
		<comments>http://www.dynamixlabs.com/2008/04/17/html-creating-clean-unordered-lists/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 12:31:16 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2008/04/17/html-creating-clean-unordered-lists/</guid>
		<description />
			<content:encoded><![CDATA[<p>Almost everyone has created an unordered list before, but most people don&#8217;t realize just how easy it is to make these lists really stand out from the crowd. For example, if you are looking to make a list of items that you offer, you may very well want to put a small green check mark next to it, like this:</p>
<ul class="checklist">
<li>This is a feature you offer.</li>
<li>And so is this!</li>
</ul>
<p><strong>The css code we used to make these bullets is here:</strong><br />
<code>.checklist{ list-style:none; margin-left:10px; padding-left:0;}<br />
.checklist li{ background:url(images/check.gif) no-repeat 0 3px; color:green; padding-left:25px;}</code>Of course, you will need an appropriate image. We created ours in photoshop. <strong>(<a href="http://www.dynamixlabs.com/images/checklist.gif" title="Check List">here it is</a>)</strong>. We made ours 10 x 10 pixels, and you may need to modify the padding-left attribute on your checklist to fit.</p>
<p><strong>Now, we just assign the .checklist class to the ul tag, like this:</strong><br />
<code>&lt;ul class="checklist"&gt;<br />
&lt;li&gt;This is a feature you offer.&lt;/li&gt;<br />
&lt;li&gt;And so is this!&lt;/li&gt;<br />
&lt;/ul&gt;</code>The same method applies to creating multiple lists. For instance, you could make a second list with features that you don&#8217;t offer, and have small red x&#8217;s to the left instead. In this case, assuming the image is the same height and width, you can reuse the code above, and change only the class title, the font color (we chose red), and the image name. The results will be something like this:</p>
<ul class="dontoffer">
<li>This is a feature you don&#8217;t offer.</li>
<li>And so is this!</li>
</ul>
<p>See how simple that was? In this case, we also changed the position of the image from 3px to 5px.</p>
<p><strong>Here&#8217;s the code:</strong><br />
<code>.dontoffer{ list-style:none; margin-left:10px; padding-left:0;}<br />
.dontoffer li{ background:url(images/dontoffer.gif) no-repeat 0 5px; color:red; padding-left:25px;}</code></p>
<p>If you are looking to get deeper into how to properly style a list, or are stuck on one that you are working on, leave us a comment and we&#8217;ll lend a hand.</p>
<p><strong>Compatibility:</strong><br />
This method has been tested in and is compatible with Internet Explorer 5.5, 6, 7, Firefox (PC and Mac), Netscape and Safari (PC and Mac).</p>
<p><strong>That’s all folks!</strong><br />
If you have an idea or article that you would like to contribute, send it on! We’re always looking for good, quality articles. Note that we will not republish an article that has been published elsewhere, so keep it original!</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=7ka0xR0-6CU:yMyy12WmXho:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=7ka0xR0-6CU:yMyy12WmXho:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=7ka0xR0-6CU:yMyy12WmXho:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=7ka0xR0-6CU:yMyy12WmXho:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=7ka0xR0-6CU:yMyy12WmXho:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/7ka0xR0-6CU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2008/04/17/html-creating-clean-unordered-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2008/04/17/html-creating-clean-unordered-lists/</feedburner:origLink></item>
		<item>
		<title>php: a simple way to fight SPAM on your contact form</title>
		<link>http://feedproxy.google.com/~r/DynamixLabs/~3/UnK56A124-U/</link>
		<comments>http://www.dynamixlabs.com/2008/03/26/php-a-simple-way-to-fight-spam-on-your-contact-form/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 16:21:20 +0000</pubDate>
		<dc:creator>DynamiXLabs</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.dynamixlabs.com/2008/03/26/php-a-simple-way-to-fight-spam-on-your-contact-form/</guid>
		<description />
			<content:encoded><![CDATA[<p>Contact forms are a vital part of a business&#8217; website. Your content is useless if you do not have a way for potential customers to contact you. &#8216;Back in the day&#8217;, it was a generally accepted practice to simply put your email address(es) on the site. However, spammers quickly found an easy target for their junk emails.</p>
<p><strong>Enter the &#8216;Contact Form&#8217;.</strong></p>
<p>Contact forms provided a means by which customers could send you a message without knowing your email address. These forms also keep people on your site, instead of sending them away to write a message in their preferred email program (or site). Sadly, spammers have now found a way to send a message through these contact forms. Many forms have simple data validation, which requires that you fill out specific fields with specific information (phone number, email address, etc). Other forms use CAPTCHA tests, which provide an image of text that the visitor must re-type into a field on the form. While this works well for responses on blog sites or registering for an online community, we don&#8217;t feel that it is appropriate for the average business website.</p>
<p>So, after some thought, we decided to try some &#8216;negative validation&#8217;. Instead of having more required fields, we created a field that must be empty, then we used simple CSS to hide that field from human visitors. Because the spam bots have learned to fill out every single field on a contact form, they will see this field in the code and put something in it and our form will know to simply reject this message.</p>
<p><strong>Enough talk, lets get to the example&#8230; </strong></p>
<p>This code can be added to nearly any php-based contact form.</p>
<p>First, we are going to add a new field to the form itself. It doesn&#8217;t matter where this field is located, as long as it is inside the &lt;form&gt; tags. We originally tried using an arbitrary name for this field, but it did not fool all of the spambots. We decided to rename our real email field and use &#8220;Email&#8221; for this input. At the time of this writing, it has worked for us.</p>
<p><strong>Code:</strong><br />
<code>&lt;div class="email"&gt;&lt;input type="text" name="Email" id="Email" value="" size="20" /&gt;&lt;/div&gt;</code><br />
(If you already have a class named &#8220;.email&#8221;, please rename class=&#8221;email&#8221; as you see fit)</p>
<p>At first, this simple field will be visible because you will want to test it before hiding it.</p>
<p>Next, we need to look at the form action value. This will tell us where the form submits to. Our contact forms submit to themselves (contact.php submits to contact.php) and all of the server-side code used to send the email is at the top of the code (above the &lt;html&gt; tag).</p>
<p>Once we have located the code that actually sends the message, we need to put it inside a simple if-statement around the code that specifically executes sending the e-mail. Every contact form is different, so we must assume that you know how your specific form works.</p>
<p><strong>Code:</strong><br />
<code>&lt;?php if ($_POST['Email'] == '') {<br />
Put your 'send the message' code here;<br />
} ?&gt;</code><br />
We decided to take it a step further. Instead of simply not allowing the &#8217;send the message&#8217; code to be executed, we decided to send the spambots away from our site.</p>
<p><strong>Code:</strong><br />
<code>&lt;?php if ($_POST['Email'] == '') {<br />
Put your 'send the message' code here;<br />
} else { header( 'Location: http://www.google.com/' ); } ?&gt;</code><br />
In this example, we just sent them to Google, but you are free to send them wherever you like.</p>
<p>Now that we have added the new field and conditional region, we can go ahead and load the contact page in the browser. Fill out the form however you like and make sure to type something (anything) into that new field. Submit the form and you should be instantly re-directed to Google.</p>
<p>Lastly, we need to return to the new field. To make sure that it is not visible to humans, we need to apply a little bit of CSS. Originally, we used &#8220;display:none;&#8221;, but learned that the spambots already knew this trick, so we had to resort to some different code. Unfortunately, the time may come where the spambots learn this trick, but for the time being, it works just fine.</p>
<p>Open your stylesheet and add this line:</p>
<p><strong>Code:</strong><br />
<code>.email {position:absolute;margin-left:-5000px;}</code></p>
<p>After saving the stylesheet, reload your form, and you will see that the field is hidden. Submit your contact form and you should get an email, just like before.</p>
<p><strong>Compatibility:</strong><br />
This method should apply to virtually any php contact form. If you find a compatibility issue, we would love to hear it!</p>
<p><strong>That’s all folks!</strong><br />
If you have an idea or article that you would like to contribute, send it on! We’re always looking for good, quality articles. Note that we will not republish an article that has been published elsewhere, so keep it original!</p>

<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=UnK56A124-U:yKmbCbGHAK8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=UnK56A124-U:yKmbCbGHAK8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=UnK56A124-U:yKmbCbGHAK8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:l6gmwiTKsz0"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=l6gmwiTKsz0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?i=UnK56A124-U:yKmbCbGHAK8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DynamixLabs?a=UnK56A124-U:yKmbCbGHAK8:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/DynamixLabs?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DynamixLabs/~4/UnK56A124-U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.dynamixlabs.com/2008/03/26/php-a-simple-way-to-fight-spam-on-your-contact-form/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.dynamixlabs.com/2008/03/26/php-a-simple-way-to-fight-spam-on-your-contact-form/</feedburner:origLink></item>
	</channel>
</rss>
