<?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"
	>

<channel>
	<title>Michael Plant</title>
	<atom:link href="http://michaelplant.info/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelplant.info</link>
	<description>Web Designer by Choice</description>
	<pubDate>Tue, 02 Dec 2008 00:07:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Character Encoding issues arrising from Content stored in a SQL server database.</title>
		<link>http://michaelplant.info/uncategorized/character-encoding-issues-arrising-from-content-stored-in-a-sql-server-database/2008/10/23</link>
		<comments>http://michaelplant.info/uncategorized/character-encoding-issues-arrising-from-content-stored-in-a-sql-server-database/2008/10/23#comments</comments>
		<pubDate>Thu, 23 Oct 2008 18:56:52 +0000</pubDate>
		<dc:creator>Michael Plant</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://michaelplant.info/?p=9</guid>
		<description><![CDATA[Just a quick note because I had a hard time hunting down the issue.
While in the process of doing a redesign for one of our clients I was changing the pages over to XHTML Transitional and was having some really weird character reference issues.  It seems HTML4 handles the characters correctly but once i [...]]]></description>
			<content:encoded><![CDATA[<h3>Just a quick note because I had a hard time hunting down the issue.</h3>
<p>While in the process of doing a redesign for one of our clients I was changing the pages over to XHTML Transitional and was having some really weird character reference issues.  It seems HTML4 handles the characters correctly but once i moved into the new XHTML declaration the quotes coming in form our SQL server were being converted to&#8230; who even knows? </p>
<p>They looked like some sort of mix between AE and Trademark special characters.  But what made it even weirder was it was picking and choosing which ones to change and what it changed them too was different for the same Quotes.  Now I have often know if the issues with using left quotes and right double quotes, etc. but had never had a problem with doing a string replace on the content prior to writing out the content in HTML. </p>
<h3>I tried and Tried&#8230;</h3>
<p>I racked my brain trying to do a string replace on many different variations of the same characters, I had Database access so I could see and even copy the characters in the table column but I could not get them to write correctly. </p>
<p>My boss and I both agreed it was a character issue and probably just needed set somewhere but either I was never tought this or I completely forgotten how to do this. I tried numerous searches on Google with no solution in sight.  Finally today I came across the meta tag I was looking for:</p>
<pre class="syntax-highlight:xhtml">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=utf-8&quot; /&gt;</pre>
<p>So for future reference I wanted to post this to make sure I have it available as I undoubtedly will run into this again.  Since the whole purpose of my blog is to keep these types of issues and solutions close, so I don&#8217;t have to go searching through sites to find what I did, there it is; but this doesn&#8217;t give me the meaning of life, I was hoping one of you could enlighten me as to the issue and what caused it?  While I consider myself and advanced developer I don&#8217;t know a lot about browsers or character references.  So if you know what my problem was, tell ME!!</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelplant.info/uncategorized/character-encoding-issues-arrising-from-content-stored-in-a-sql-server-database/2008/10/23/feed</wfw:commentRss>
		</item>
		<item>
		<title>Another IE6 Bug when displaying anchor tags as block element.</title>
		<link>http://michaelplant.info/ie6-bugs/another-ie6-bug-when-displaying-anchor-tags-as-block-element/2008/09/18</link>
		<comments>http://michaelplant.info/ie6-bugs/another-ie6-bug-when-displaying-anchor-tags-as-block-element/2008/09/18#comments</comments>
		<pubDate>Thu, 18 Sep 2008 19:43:18 +0000</pubDate>
		<dc:creator>Michael Plant</dc:creator>
		
		<category><![CDATA[IE6 Bugs]]></category>

		<category><![CDATA[anchor]]></category>

		<category><![CDATA[block]]></category>

		<category><![CDATA[bug]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://michaelplant.info/?p=8</guid>
		<description><![CDATA[Image you wanted an anchor tag to fill the entire space around an image background as well as the text.  Generally I use padding on the anchor tag and Display:Block to get ti to display the way I want.  The problem is that in IE6 the display block isn&#8217;t enough.  It will [...]]]></description>
			<content:encoded><![CDATA[<p>Image you wanted an anchor tag to fill the entire space around an image background as well as the text.  Generally I use padding on the anchor tag and Display:Block to get ti to display the way I want.  The problem is that in IE6 the display block isn&#8217;t enough.  It will still only activate the hover over the text portion of the element and not the padding. </p>
<p>Yesterday, I ran across this again and tried giving my anchor tag a width of 100% and it worked. The surprising part is not only did it fill the entire width properly but now the height was working as expected. So the bug I see is in declaring a width for a block level element.  If you do not declare a width the anchor remains an inline element as far as hover goes but does take the rest of the properties as expected; padding, height, etc.  So apparently this simple fix is to add a width to the anchor as well as the block declaration and it will truly become a block element.</p>
<p>Here is an example in case I lost you:</p>
<div style="width:200px">
<a style="background:#555;color:#FFF;padding:20px;display:block;" href="#link_to_nothing">Link without width</a>
</div>
<p>With no width defined in IE6 the hover will only register when you are directly over the text. As I said the padding still works but the hover doesn&#8217;t. Now let&#8217;s do it again with a specified width.</p>
<div style="width:200px">
<a style="background:#555;color:#FFF;padding:20px;display:block;width:160px;" href="#link_to_nothing">Link with width.</a>
</div>
<p>If you don&#8217;t have IE6 or a way to preview site&#8217;s with IE6, I would suggest going over to Microsoft and getting <a href="http://www.microsoft.com/windows/products/winfamily/virtualpc/overview.mspx" target="_blank">Virtual PC</a> and downloading the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&#038;displaylang=en" target="_blank">IE6 compatibility virtual hard drive</a>. These will allow you to run another Windows XP operating system, complete with IE6 SP2, without leaving your true Windows operating system.  I use this to test my CSS for cross browser compatibility before I launch all my site&#8217;s.</p>
<p>While you won&#8217;t notice a difference with modern browsers there is a huge difference from what IE6 does with the first link. </p>
]]></content:encoded>
			<wfw:commentRss>http://michaelplant.info/ie6-bugs/another-ie6-bug-when-displaying-anchor-tags-as-block-element/2008/09/18/feed</wfw:commentRss>
		</item>
		<item>
		<title>Real-Time Form Feedback, a usability dream come true!</title>
		<link>http://michaelplant.info/form-design/real-time-form-feedback-a-usability-dream-come-true/2008/08/12</link>
		<comments>http://michaelplant.info/form-design/real-time-form-feedback-a-usability-dream-come-true/2008/08/12#comments</comments>
		<pubDate>Wed, 13 Aug 2008 02:12:07 +0000</pubDate>
		<dc:creator>Michael Plant</dc:creator>
		
		<category><![CDATA[Form Design]]></category>

		<category><![CDATA[forms]]></category>

		<category><![CDATA[interface]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://michaelplant.info/?p=3</guid>
		<description><![CDATA[So I have this professed love for accessibility and usability.  While I&#8217;ll admit I definitely don&#8217;t know enough about both I have a desire to get my hands on everything I can.  If you haven&#8217;t read anything from Interface Designer Luke Wroblewski then head over to his site and check out his online [...]]]></description>
			<content:encoded><![CDATA[<p>So I have this professed love for accessibility and usability.  While I&#8217;ll admit I definitely don&#8217;t know enough about both I have a desire to get my hands on everything I can.  If you haven&#8217;t read anything from <a href="http://www.lukew.com" target="_blank">Interface Designer Luke Wroblewski</a> then head over to his site and check out his online slides from his <a href="http://www.lukew.com/ff/entry.asp?705" target="_blank">Web Form Design Best Practices</a> on July 18, 2008.  </p>
<p>If you are serious about web form design and accessibility then I have just inadvertently stumbled into what I have dubbed &#8220;Real-Time Form Feedback&#8221;.  So imagine, as you are filling out a questionnaire on a web site; totally uninterested in the fact that they, are requesting more data from you, then you were seeking form them to begin with. But understanding the nature of the beast, I know this is how they formulate their response to my interest, so I obligingly begin answering the questions. </p>
<p><img src="http://michaelplant.info/wp-content/uploads/2008/08/1.jpg" alt="Screenshot of Visual Feedback for the incorrect number -1 in the years field." title="Visual Feedback for the incorrect number -1." width="602 height="288" class="alignnone wp-image-6" /></p>
<p>On the second page I stopped and spoke to Amanda for a moment and suddenly realized I was missing the coolest addition to a form that I have seen yet.  Not only did I get instant recognition that I was typing in the field, but because my response was technically less than 1; I typed -1, in the hopes that someone, if a real person reading the data, would realize I wanted to say less then one.  Instantly, to the right side of the form field it simply requested that I, &#8220;Please enter a number between 0 and 100.&#8221; I immediately changed my answer to 1 and to my surprise, it responded with real-time feedback stating my response was &#8220;1 Year.&#8221;</p>
<p><img src="http://michaelplant.info/wp-content/uploads/2008/08/1year.jpg" alt="Screenshot of Visual Feedback for the number 1 in years field." title="Visual Feedback given for the number 1." width="571" height="282" class="alignnone size-full wp-image-5" /></p>
<p>Now that is what made me stop&#8230; I turned to Amanda and said now that is cool. I immediately typed in .7 to see if I was &#8220;allowed&#8221; to input a decimal point, and as I expected, I was given my response, &#8220;0.7 Years.&#8221;  </p>
<p>In a time where we use JavaScript libraries everywhere in order to improve the &#8220;WOW&#8221; factor of our sites, it seems we often spend the least time with the most important aspects of our work, user interface.  Everything you do on the internet is about data and information.  Users are looking for it and we are hopefully delivering it easily.  </p>
<p>Now think about how easy it would be to just throw a little JavaScript in their and have Real-Time Form Feedback helping your user complete the task of giving his information to you.  I was perfectly willing to just hand it over, considering the expectation of great information in return.  But imagine if me, of all people, got frustrated with the fact that I had to rewrite my data again due to a very informal error created after I had, in my mind completed the task.  This is the same guy, that will close a form the second I see &#8220;that&#8221; Captcha. </p>
<p>Instead, I was given immediate feedback that not only helped me complete the field properly but gave me the ability to give a more accurate response by realizing I could still say less than 1 by using .7 which is 8.4 months.</p>
<p><img src="http://michaelplant.info/wp-content/uploads/2008/08/point7_years.jpg" alt="Screenshot of Visual Feedback for the decimal .7 in the years field." title="Visual Feedback for the decimal .7" width="662" height="382" class="alignnone size-full wp-image-4" /></p>
<p>The site is called <a href="http://www.payscale.com/" target="_blank">PayScale</a> and it promises to give you a salary comparison for your field.  Obviously in return for you giving them your career information. </p>
<p>Ha! Ha! I am underpaid! I think I&#8217;ll print that out for the bosses <img src='http://michaelplant.info/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
<p>As suggested by Teresa, let&#8217;s debate this. Leave some comments and tell me what you think!</p>
]]></content:encoded>
			<wfw:commentRss>http://michaelplant.info/form-design/real-time-form-feedback-a-usability-dream-come-true/2008/08/12/feed</wfw:commentRss>
		</item>
		<item>
		<title>My Reset CSS</title>
		<link>http://michaelplant.info/css-snippets/hello-world/2008/07/26</link>
		<comments>http://michaelplant.info/css-snippets/hello-world/2008/07/26#comments</comments>
		<pubDate>Sat, 26 Jul 2008 15:05:09 +0000</pubDate>
		<dc:creator>Michael Plant</dc:creator>
		
		<category><![CDATA[CSS Snippets]]></category>

		<category><![CDATA[clear]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[reset]]></category>

		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://michaelplant.info/?p=1</guid>
		<description><![CDATA[This is an adapted version of Eric Meyer&#8217;s reset without going overboard.  It includes miscellaneous conveniences to give a good start on any website.  I use this code snippet to begin all of my main screen css files for any new build.  Take a look here is the whole reset. 

/* I [...]]]></description>
			<content:encoded><![CDATA[<p>This is an adapted version of Eric Meyer&#8217;s reset without going overboard.  It includes miscellaneous conveniences to give a good start on any website.  I use this code snippet to begin all of my main screen css files for any new build.  Take a look here is the whole reset. </p>
<pre class="syntax-highlight:css">
/* I know.. but heres the reset: way better than an asterisk: */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
body {
	font:68% Georgia,serif;
	color:#464646;
}
a img {
	border:0;
}
/* Standardize styling:
   Elements with a vertical margin: */
h1, h2, h3, h4, h5, h6, p, pre,
blockquote, ul, ol, dl, address {
        margin:1em 0;
        padding: 0;
}

/* Apply left margin:
   Only to the few elements that need it: */
li, dd, blockquote {
        margin-left: 1em;
}
/* Miscellaneous conveniences: */
form label {
        cursor: pointer;
}
fieldset {
        border: none;
}
input, select, textarea {
        font-size: 100%;
		font-family: inherit;
}
em {
	font-style:italic;
}
strong {
	font-weight:bold;
}
/* Custom styles:
	ordered by syntax hierarchy */
</pre>
]]></content:encoded>
			<wfw:commentRss>http://michaelplant.info/css-snippets/hello-world/2008/07/26/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
