<?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>Allan Collins &#187; Web Design</title> <atom:link href="http://www.allancollins.net/category/web-design/feed/" rel="self" type="application/rss+xml" /><link>http://www.allancollins.net</link> <description>Official home of a Colorado Web Developer.</description> <lastBuildDate>Tue, 10 Aug 2010 15:59:20 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>Internet Explorer is Now Error Free!</title><link>http://www.allancollins.net/326/internet-explorer-is-now-error-free/</link> <comments>http://www.allancollins.net/326/internet-explorer-is-now-error-free/#comments</comments> <pubDate>Thu, 02 Apr 2009 01:00:19 +0000</pubDate> <dc:creator>Allan Collins</dc:creator> <category><![CDATA[Web Design]]></category><guid isPermaLink="false">http://www.allancollins.net/?p=326</guid> <description><![CDATA[Move over Firefox, Chrome and Opera... a new standards compliant IE is in town!]]></description> <content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/20826826@N00/987015853"><img src="http://www.allancollins.net/wp-content/uploads/2009/03/987015853.jpg" alt="Bugged Internet Explorer" width="240" height="166" /></a><p class="wp-caption-text">Photo By: hashmil</p></div><p>Sure, it was hard to believe at first, but after some thorough testing Internet Explorer is no longer a &#8220;beast of burden&#8221;.  It seems that finally, Microsoft developers have worked out the kinks to make this browser the most standards compliant web browser on the market today.</p><p>After having to create hacks for CSS on some websites just for Internet Explorer, I had my doubts that all of these issues relating to CSS could be resolved.  To my surprise, IE manages to display every ounce of CSS flawlessly.</p><p><a href="http://microsoft.com.windows.internet-explorer.default.aspx.allancollins.net/">Read more about the big changes with Internet Explorer.</a></p><p><strong>UPDATE:</strong> April Fools!</p> ]]></content:encoded> <wfw:commentRss>http://www.allancollins.net/326/internet-explorer-is-now-error-free/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Five WordPress Security Tips</title><link>http://www.allancollins.net/317/five-wordpress-security-tips/</link> <comments>http://www.allancollins.net/317/five-wordpress-security-tips/#comments</comments> <pubDate>Mon, 30 Mar 2009 15:00:15 +0000</pubDate> <dc:creator>Allan Collins</dc:creator> <category><![CDATA[Web Design]]></category><guid isPermaLink="false">http://www.allancollins.net/?p=317</guid> <description><![CDATA[Your website is one of your biggest assets.  If your site's security gets breached, you're easily up a ship without a paddle.]]></description> <content:encoded><![CDATA[<p>Your website is one of your biggest assets.  If your site&#8217;s security gets breached, you&#8217;re easily up a ship without a paddle.  Imagine your WordPress powered website compromised and flooded with thousands of links to pornography&#8230; not a pretty picture.  SO how do you prevent such a disaster from happening?</p><p>Here are five tips:</p><ol><li class="featurebox"><strong>Kill the &#8216;admin&#8217; account.</strong><br /> Create an administrator account in WP and delete the default &#8216;admin&#8217; user.  Since it&#8217;s common knowledge that the &#8216;admin&#8217; user exists by default, wouldn&#8217;t it be a little bit easier to find the administrative password? <br class="clearing" /><br class="clearing" /></li><li class="featurebox"><strong>Replace your table prefixes.<br /> </strong>SQL injection attacks happen every day.  By default, WordPress adds a database table prefix of &#8216;wp-&#8217;.  If you take off this prefix or change it, you are lower your risk for an injection attack.<br class="clearing" /><br class="clearing" /></li><li class="featurebox"><strong>Take out the version META tag.<br /> </strong>Older versions of WordPress contain certain vulnerabilities that are avoided by an upgrade.  With this META tag, you are broadcasting that you are an open target.  Here&#8217;s a scenario:  Let&#8217;s pretend that I&#8217;m a hacker and that I know a vurnerability for WP version 2.1.  I can write an application that will scan hundreds of websites for the version META tag and get a list of sites running 2.1.  It would be easy pickings from there, wouldn&#8217;t it?<br class="clearing" /><br class="clearing" /></li><li class="featurebox"><strong>Lockout bad login attempts.</strong><br /> A bruteforce hack is an attempt to guess the correct password using a list of common passwords.  Download the <a href="http://wordpress.org/extend/plugins/login-lockdown/">Login LockDown</a> plugin to lockout  bad login attempts for a hour (by default).<br class="clearing" /><br class="clearing" /></li><li class="featurebox"><strong>Set the right permissions.<br /> </strong>Folder permissions should be set to 755 and files should be set to 644.  Try at all costs not set permissions at 777, which allows read/write access for all users.  A cracker could put a malicious application in a folder set a 777.<br /> <br class="clearing" /><br class="clearing" /></li></ol><p>And there you have it, five stellar tips to secure your WordPress site.  To easily resolve some of these issues, download the <a href="http://wordpress.org/extend/plugins/wp-security-scan/">WP Security Scan</a> plugin.<br /> <br class="clearing" /><br class="clearing" /></p> ]]></content:encoded> <wfw:commentRss>http://www.allancollins.net/317/five-wordpress-security-tips/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Rounded Corners: The Easy Way</title><link>http://www.allancollins.net/292/rounded-corners-the-easy-way/</link> <comments>http://www.allancollins.net/292/rounded-corners-the-easy-way/#comments</comments> <pubDate>Tue, 10 Mar 2009 14:00:50 +0000</pubDate> <dc:creator>Allan Collins</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://www.allancollins.net/?p=292</guid> <description><![CDATA[Easily transform blog comments, spice up a layout or just look cool by doing it.]]></description> <content:encoded><![CDATA[ <script type="text/javascript" src="http://www.allancollins.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script> <p>Easily transform blog comments, spice up a layout or just look cool by doing it.</p><p class="featurebox"> Thanks to the <a href="http://www.malsup.com/jquery/corner/">jQuery Corner</a> plugin, you can create a rounded rectangle just like this one. Easy. Simple. SWEEET!</p><p>Download the js file, along with jQuery and then set which elements get rounded.  That&#8217;s it.<br /><pre class="brush: xml">&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(document).ready(function() 
{
    jQuery(&quot;.featurebox&quot;).corner();
});
&lt;/script&gt;
&lt;div class=&quot;featurebox&quot;&gt;This is content within a rounded rectangle.  Pretty painless huh?&lt;/div&gt;</pre></p> ]]></content:encoded> <wfw:commentRss>http://www.allancollins.net/292/rounded-corners-the-easy-way/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to Copy Content Into WordPress From Word</title><link>http://www.allancollins.net/277/how-to-copy-content-into-wordpress-from-word/</link> <comments>http://www.allancollins.net/277/how-to-copy-content-into-wordpress-from-word/#comments</comments> <pubDate>Sat, 07 Mar 2009 18:00:36 +0000</pubDate> <dc:creator>Allan Collins</dc:creator> <category><![CDATA[Web Design]]></category><guid isPermaLink="false">http://www.allancollins.net/?p=277</guid> <description><![CDATA[It isn't unusual for me to get a request to fix a Wordpress site that doesn't show some posts in Internet Explorer.]]></description> <content:encoded><![CDATA[ <script type="text/javascript" src="http://www.allancollins.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script> <p>It isn&#8217;t unusual for me to get a request to fix a WordPress site that doesn&#8217;t show some posts in Internet Explorer.  After banging my head on my desk and cursing Microsoft, I get to work cleaning up these phantom blog posts.  Upon looking at the code via the HTML tab on the WordPress editing screen, I could easily put the blame on the post&#8217;s  author by copying and pasting directly from Microsoft Word.</p><p>Microsoft Word, when pasted, adds a lot of junk code, which is intended to keep formatting, but instead can seriously annihilate a website layout and prevent browsers (such as IE) from viewing sections by using <a href="http://www.quirksmode.org/css/condcom.html">conditional comments</a>.</p><p>So how can you keep the formatting you have in your Word Document without screwing up your post?</p><p class="featurebox"> <strong>Step One: Toggle the Second Menu Bar</strong></p><p><strong><img class="aligncenter size-full wp-image-279" title="Button" src="http://www.allancollins.net/wp-content/uploads/2009/03/slide1.gif" alt="Button" width="464" height="67" /></strong></p><p>It&#8217;s surprising how many people don&#8217;t know there is another menu bar with their WordPress WYSIWYG editor.</p><p><br/></p><p class="featurebox"> <strong>Step Two: Click on the Paste from Word Button</strong></p><p><img class="aligncenter size-full wp-image-280" title="WordButton" src="http://www.allancollins.net/wp-content/uploads/2009/03/slide2.gif" alt="WordButton" width="502" height="97" /></p><p><br/></p><p class="featurebox"> <strong>Step Three: Copy-and-Paste from Word into the Provided TextArea</strong></p><p><strong><img class="aligncenter size-full wp-image-281" title="Paste Word" src="http://www.allancollins.net/wp-content/uploads/2009/03/slide3.gif" alt="Paste Word" width="459" height="433" /></strong></p><p><br/></p><p class="featurebox"> <strong>Step Four: Click the Insert Button.</strong></p><p>This simple feature will strip out all of the junk code that Microsoft Word adds and will format the text into HTML.</p><p><br/></p><p class="featurebox"> <strong>HERE&#8217;S AN EXAMPLE OF THE ISSUE:</strong></p><p>1. I opened up Word and added this text: &#8220;This is some text from Microsoft Word.&#8221;<br /> 2. I bolded and centered the text in Word.<br /> 3. I then copied and pasted into the Visual editor of WordPress.</p><p>Here&#8217;s the code this simple line of text created:<pre class="brush: xml">&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt; &lt;w:View&gt;Normal&lt;/w:View&gt; &lt;w:Zoom&gt;0&lt;/w:Zoom&gt; &lt;w:Compatibility&gt; &lt;w:BreakWrappedTables /&gt; &lt;w:SnapToGridInCell /&gt; &lt;w:ApplyBreakingRules /&gt; &lt;w:WrapTextWithPunct /&gt; &lt;w:UseAsianBreakRules /&gt; &lt;w:UseFELayout /&gt; &lt;/w:Compatibility&gt; &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt; &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:SimSun; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-alt:??; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 680460288 22 0 262145 0;} @font-face 	{font-family:&quot;\@SimSun&quot;; 	panose-1:2 1 6 0 3 1 1 1 1 1; 	mso-font-charset:134; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:3 680460288 22 0 262145 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:&quot;&quot;; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:SimSun;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&quot;Table Normal&quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:&quot;&quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:&quot;Times New Roman&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;}
&lt;/style&gt; &lt;![endif]--&gt;
&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;strong&gt;This is some text from Microsoft Word.&lt;/strong&gt;&lt;/p&gt;</pre></p> ]]></content:encoded> <wfw:commentRss>http://www.allancollins.net/277/how-to-copy-content-into-wordpress-from-word/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Create Buttons From Links</title><link>http://www.allancollins.net/224/how-to-create-buttons-from-links/</link> <comments>http://www.allancollins.net/224/how-to-create-buttons-from-links/#comments</comments> <pubDate>Sun, 08 Feb 2009 16:24:28 +0000</pubDate> <dc:creator>Allan Collins</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://www.allancollins.net/?p=224</guid> <description><![CDATA[Want to reinvent the button with a text link?  Check out this tutorial that utilizes jQuery.]]></description> <content:encoded><![CDATA[ <script type="text/javascript" src="http://www.allancollins.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushXml.js"></script> <script type="text/javascript" src="http://www.allancollins.net/wp-content/plugins/wordpress-code-snippet/scripts/shBrushJScript.js"></script> <p>Here&#8217;s a fun way to reinvent the button:</p><p>1. Let&#8217;s start with a simple anchor link:</p><p>&lt;a href=&#8221;#&#8221; class=&#8221;coolbutton&#8221;&gt;Click Here&lt;/a&gt;</p><p>2. By adding elements into the anchor tag and styling them with CSS, you can create a nice button from this anchor tag.</p><p><strong>DEMO:</strong><pre class="brush: js">jQuery(document).ready(function() {

	var linkText=jQuery(&quot;.coolbutton&quot;).html();
	jQuery(&quot;.coolbutton&quot;).html(&quot;&lt;b&gt;&lt;em&gt;&quot; + linkText + &quot;&lt;/em&gt;&lt;/b&gt;&lt;span&gt;&lt;/span&gt;&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;color&quot;,&quot;#000000&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;text-decoration&quot;,&quot;none&quot;);
	jQuery(&quot;.coolbutton b&quot;).css(&quot;font-weight&quot;,&quot;normal&quot;);
	jQuery(&quot;.coolbutton b *&quot;).css(&quot;font-style&quot;,&quot;normal&quot;);
	jQuery(&quot;.coolbutton b&quot;).css(&quot;display&quot;,&quot;block&quot;);
	jQuery(&quot;.coolbutton b&quot;).css(&quot;width&quot;,&quot;80px&quot;);	
	jQuery(&quot;.coolbutton b&quot;).css(&quot;position&quot;,&quot;absolute&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;display&quot;,&quot;block&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;border&quot;,&quot;1px solid #707070&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;width&quot;,&quot;80px&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;height&quot;,&quot;20px&quot;);
	jQuery(&quot;.coolbutton b&quot;).css(&quot;text-align&quot;,&quot;center&quot;);
	jQuery(&quot;.coolbutton b&quot;).css(&quot;padding-top&quot;,&quot;2px&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;background&quot;,&quot;#d4d4d4&quot;);
	jQuery(&quot;.coolbutton span&quot;).css(&quot;display&quot;,&quot;block&quot;);
	jQuery(&quot;.coolbutton span&quot;).css(&quot;height&quot;,&quot;10px&quot;);
	jQuery(&quot;.coolbutton span&quot;).css(&quot;background&quot;,&quot;#ececec&quot;);
	jQuery(&quot;.coolbutton *&quot;).css(&quot;cursor&quot;,&quot;default&quot;);
	
	jQuery(&quot;.coolbutton&quot;).css(&quot;-moz-border-radius&quot;,&quot;5px&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;-khtml-border-radius&quot;,&quot;5px&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;-webkit-border-radius&quot;,&quot;5px&quot;);
	jQuery(&quot;.coolbutton&quot;).css(&quot;border-radius&quot;,&quot;5px&quot;);	
	
	


	
	jQuery(&quot;.coolbutton&quot;).hover(function() {
		
		jQuery(this).css(&quot;border&quot;,&quot;1px solid #3c7fb1&quot;);
		jQuery(this).css(&quot;background&quot;,&quot;#bce5fc&quot;);
		jQuery(this).addClass(&quot;active&quot;);
		jQuery(&quot;.active span&quot;).css(&quot;background&quot;,&quot;#e6f5fd&quot;);
	},function() {
	jQuery(&quot;.active span&quot;).css(&quot;background&quot;,&quot;#ececec&quot;);
	jQuery(this).css(&quot;border&quot;,&quot;1px solid #707070&quot;);
	jQuery(this).css(&quot;background&quot;,&quot;#d4d4d4&quot;);
	jQuery(this).removeClass(&quot;active&quot;);
	});
	
	
	jQuery(&quot;.coolbutton&quot;).mousedown(function() {
		jQuery(this).css(&quot;border&quot;,&quot;1px solid #2c628b&quot;);
		jQuery(this).css(&quot;background&quot;,&quot;#86c6e8&quot;);
		jQuery(this).addClass(&quot;active&quot;);
		jQuery(&quot;.active span&quot;).css(&quot;background&quot;,&quot;#d8eefa&quot;);
		jQuery(&quot;.active b *&quot;).css(&quot;border&quot;,&quot;1px dotted #202020&quot;);
		jQuery(&quot;.active b *&quot;).css(&quot;padding-left&quot;,&quot;3px&quot;);
		
		
		
		jQuery(&quot;.coolbutton&quot;).mouseup(function() {
	jQuery(this).css(&quot;border&quot;,&quot;1px solid #3c7fb1&quot;);
		jQuery(this).css(&quot;background&quot;,&quot;#bce5fc&quot;);
		jQuery(this).addClass(&quot;active&quot;);
		jQuery(&quot;.active span&quot;).css(&quot;background&quot;,&quot;#e6f5fd&quot;);
	jQuery(&quot;.active b *&quot;).css(&quot;border&quot;,&quot;none&quot;);
		jQuery(&quot;.active b *&quot;).css(&quot;padding-left&quot;,&quot;0&quot;);
	});
	
	});
	
	jQuery(&quot;.coolbutton&quot;).click(function(){
	alert(&quot;Hello&quot;);
	return false;
	});
});</pre></p> ]]></content:encoded> <wfw:commentRss>http://www.allancollins.net/224/how-to-create-buttons-from-links/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 18/34 queries in 0.017 seconds using disk

Served from: www.allancollins.net @ 2010-09-06 12:59:02 -->