<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.7" -->
<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/"
	>

<channel>
	<title>PE</title>
	<link>http://pedesign.co.uk/blog</link>
	<description>Ideas on Web Design</description>
	<pubDate>Wed, 15 Aug 2007 10:48:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>
	<language>en</language>
			<item>
		<title>Code errors in “Pro Drupal Development”</title>
		<link>http://pedesign.co.uk/blog/cms/code-errors-in-%e2%80%9cpro-drupal-development%e2%80%9d/</link>
		<comments>http://pedesign.co.uk/blog/cms/code-errors-in-%e2%80%9cpro-drupal-development%e2%80%9d/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 08:19:29 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>CMS</category>

		<category>Books</category>

		<guid isPermaLink="false">http://pedesign.co.uk/blog/cms/code-errors-in-%e2%80%9cpro-drupal-development%e2%80%9d/</guid>
		<description><![CDATA[For those of you who may be experiencing a few errors when following the examples in the Pro Drupal Development book make sure you visit the book&#8217;s website. It has a section with known errors where you contribute you own comments for those not listed.
There&#8217;s not many Drupal books out there at the moment, but [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image27" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/08/1146rochll.jpg" alt="Pro Drupal Development book" style="float:left;margin: 0 10px 5px 0;" />For those of you who may be experiencing a few errors when following the examples in the <a href="http://www.amazon.co.uk/Pro-Drupal-Development-John-Vandyk/dp/1590597559/ref=pd_sim_b_2/202-6918225-1272634">Pro Drupal Development</a> book make sure you visit the <a href="http://www.drupalbook.com">book&#8217;s website</a>. It has a section with known errors where you contribute you own comments for those not listed.</p>
<p>There&#8217;s not many <a href="http://www.drupal.org">Drupal</a> books out there at the moment, but <a href="http://www.lullabot.com/">Lullabot</a> are writing a new one called <a href="http://www.lullabot.com/blog/were_writing_oreilly_drupal_book">Practical Drupal</a> with O&#8217;Reilly which will be based around Drupal 6.</p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/cms/code-errors-in-%e2%80%9cpro-drupal-development%e2%80%9d/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Methods to hide email addresses from page source</title>
		<link>http://pedesign.co.uk/blog/uncategorized/methods-to-hide-email-addresses-from-page-source/</link>
		<comments>http://pedesign.co.uk/blog/uncategorized/methods-to-hide-email-addresses-from-page-source/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 16:33:11 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>Uncategorized</category>

		<guid isPermaLink="false">http://pedesign.co.uk/blog/uncategorized/methods-to-hide-email-addresses-from-page-source/</guid>
		<description><![CDATA[…a list of methods to hide email addresses from the page source to minimize visibility against the email harvesting spam bots. Each method has its (dis)advantages, therefore I leave it up to the reader to decide which method suits them the most, as there are many factors.
Hide email address in source code


technorati tags:Email, Spam

Blogged with [...]]]></description>
			<content:encoded><![CDATA[<blockquote cite="http://www.csarven.ca/hiding-email-addresses"><p>…a list of methods to hide email addresses from the page source to minimize visibility against the email harvesting spam bots. Each method has its (dis)advantages, therefore I leave it up to the reader to decide which method suits them the most, as there are many factors.</p></blockquote>
<p class="citation"><cite cite="http://www.csarven.ca/hiding-email-addresses"><a href="http://www.csarven.ca/hiding-email-addresses">Hide email address in source code</a></cite></p>
<p/>
<p/><!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">technorati tags:<a href="http://technorati.com/tag/Email" rel="tag">Email</a>, <a href="http://technorati.com/tag/Spam" rel="tag">Spam</a></p>
<p><!-- technorati tags end -->
<p style="text-align: right; font-size: 8px">Blogged with <a href="http://www.flock.com/blogged-with-flock" title="Flock" target="_new">Flock</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/uncategorized/methods-to-hide-email-addresses-from-page-source/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XHTML column frameworks</title>
		<link>http://pedesign.co.uk/blog/xhtml/xhtml-column-frameworks/</link>
		<comments>http://pedesign.co.uk/blog/xhtml/xhtml-column-frameworks/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 17:45:58 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>XHTML</category>

		<category>Design</category>

		<guid isPermaLink="false">http://pedesign.co.uk/blog/design/xhtml-column-frameworks/</guid>
		<description><![CDATA[I&#8217;ve often spent time developing column structures for websites. Structure is a good thing and it’s essential to keep your design looking consistent across a number of website pages. Newspapers all run on complex column grid systems and have done for years. Websites are really no different. Even if you have an irregular design, you’ll [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve often spent time developing column structures for websites. Structure is a good thing and it’s essential to keep your design looking consistent across a number of website pages. Newspapers all run on complex column grid systems and have done for years. Websites are really no different. Even if you have an irregular design, you’ll still benefit from a little underlying structure.</p>
<p>The following shows one of the more common column structures, with splits for 2 to 6 equally spaced columns. It&#8217;s based on a 720 pixel width, so will sit nicely on 800&#215;600.</p>
<p><img alt="Column structure example" id="image17" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/columnset.png" /></p>
<p>There are a number of other column sets that split nicely into whole (pixel) numbers. Read on if you&#8217;re interested.</p>
<p><a id="more-18"></a></p>
<h3>It&#8217;s all based around “60”</h3>
<p>This number is divisible by 2,3,4,5 &#038; 6. As long as your page width is a multiple of this number then you&#8217;ll be able to break it down into 2 to 6 equal columns with no problems.</p>
<p>I’ve compiled a list of the most common sets you are likely to use. Each example is based around a page width and has a diagram breaking down the column structure for the most common layouts.</p>
<ul>
<li>2 equal columns (1:1)</li>
<li>3 equal columns (1:1:1)</li>
<li>4 equal columns (1:1:1:1)</li>
<li>5 equal columns (1:1:1:1:1)</li>
<li>6 equal columns (1:1:1:1:1:1)</li>
<li>2 columns (1:2)</li>
<li>2 columns (1:3)</li>
<li>2 columns (2:3)</li>
<li>3 columns (1:2:2)</li>
<li>3 columns (1:2:1)</li>
</ul>
<p><a name="list"></a><a name="list"></a>Page widths available (in pixels):</p>
<p><a name="list"></a></p>
<ol><a name="list"></a></p>
<li><a title="link down to diagram" href="#600">600 (suitable for 640&#215;480)</a></li>
<li><a title="link down to diagram" href="#720">720 (suitable for 800&#215;600)</a></li>
<li><a title="link down to diagram" href="#780">780 (just about suitable for 800&#215;600)</a></li>
<li><a title="link down to diagram" href="#840">840 (suitable for 1024&#215;768)</a></li>
<li><a title="link down to diagram" href="#900">900 (suitable for 1024&#215;768)</a></li>
<li><a title="link down to diagram" href="#960">960 (suitable for 1024&#215;768)</a></li>
</ol>
<p><a name="600"></a></p>
<p><a name="600"></a></p>
<h4><a name="600"></a>600 pixel page width (suitable for 640&#215;480)</h4>
<p><a name="600"></a><a name="600"></a> <a name="600"></a> <a name="600"></a><a name="600"></a><img id="image19" alt="Column splits for 600 pixel width" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/columnset-600.png" /><br />
<a href="#list">back to list</a></p>
<p><a name="720"></a></p>
<p><a name="720"></a></p>
<h4><a name="720"></a>720 pixel page width (suitable for 800&#215;600)</h4>
<p><a name="720"></a><a name="720"></a> <a name="720"></a> <a name="720"></a><a name="720"></a><img id="image20" alt="Column splits for 720 pixel width" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/columnset-720.png" /><br />
<a href="#list">back to list</a></p>
<p><a name="780"></a></p>
<p><a name="780"></a></p>
<h4><a name="780"></a>780 pixel page width (just about suitable for 800&#215;600)</h4>
<p><a name="780"></a><a name="780"></a> <a name="780"></a> <a name="780"></a><a name="780"></a><img id="image21" alt="Column splits for 780 pixel width" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/columnset-780.png" /><br />
<a href="#list">back to list</a></p>
<p><a name="840"></a></p>
<p><a name="840"></a></p>
<h4><a name="840"></a>840 pixel page width (suitable for 1024&#215;768)</h4>
<p><a name="840"></a><a name="840"></a> <a name="840"></a> <a name="840"></a><a name="840"></a><img id="image22" alt="Column splits for 840 pixel width" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/columnset-840.png" /><br />
<a href="#list">back to list</a></p>
<p><a name="900"></a></p>
<p><a name="900"></a></p>
<h4><a name="900"></a>900 pixel page width (suitable for 1024&#215;768)</h4>
<p><a name="900"></a><a name="900"></a> <a name="900"></a> <a name="900"></a><a name="900"></a><img id="image23" alt="Column splits for 840 pixel width" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/columnset-900.png" /><br />
<a href="#list">back to list</a></p>
<p><a name="960"></a></p>
<p><a name="960"></a></p>
<h4><a name="960"></a>960 pixel page width (suitable for 1024&#215;768)</h4>
<p><a name="960"></a><a name="960"></a> <a name="960"></a> <a name="960"></a><a name="960"></a><img id="image24" alt="Column splits for 960 pixel width" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/columnset-960.png" /><br />
<a href="#list">back to list</a></p>
<p>I hope this serves as a good reference. Happy designing!
</p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/xhtml/xhtml-column-frameworks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Not everything needs to be social</title>
		<link>http://pedesign.co.uk/blog/websites/not-everything-needs-to-be-social/</link>
		<comments>http://pedesign.co.uk/blog/websites/not-everything-needs-to-be-social/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 15:44:35 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>Websites</category>

		<category>Discussion</category>

		<guid isPermaLink="false">http://pedesign.co.uk/blog/uncategorized/not-everything-needs-to-be-social/</guid>
		<description><![CDATA[New “Social” Dictionary
A new online dictionary and thesaurus launches today called WordSource. It’s main benefit over sites like Dictionary.com is the fact that the site is very cleanly designed and contains no advertisements. You can also look up a word by simply adding it to the URL (so word.sc/example will pull up the definition of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://feeds.feedburner.com/~r/Techcrunch/~3/96154832/">New “Social” Dictionary</a></p>
<p><a href="http://www.word.sc"><img class="alignright" src="http://www.techcrunch.com/wp-content/wordsourcelogo.png" /></a>A new online dictionary and thesaurus launches today called <a href="http://word.sc">WordSource</a>. It’s main benefit over sites like Dictionary.com is the fact that the site is very cleanly designed and contains no advertisements. You can also look up a word by simply adding it to the URL (so <a href="http://word.sc/example">word.sc/example</a> will pull up the definition of “example”).</p>
<p>I think I&#8217;ll stick with my Mac Widget.<br />
<!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags:<a rel="tag" href="http://technorati.com/tag/Social">Social</a>, <a rel="tag" href="http://technorati.com/tag/Wordsource">Wordsource</a></p>
<p><!-- technorati tags end --></p>
<p style="text-align: right; font-size: 8px">Blogged with <a title="Flock" target="_new" href="http://www.flock.com/blogged-with-flock">Flock</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/websites/not-everything-needs-to-be-social/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flock</title>
		<link>http://pedesign.co.uk/blog/web-browsers/flock/</link>
		<comments>http://pedesign.co.uk/blog/web-browsers/flock/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 11:24:25 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>Web browsers</category>

		<guid isPermaLink="false">http://pedesign.co.uk/blog/uncategorized/flock/</guid>
		<description><![CDATA[
Always a bit dubious when a new browser comes out, but this one might be different.
With Flickr, delicious and blog integration – it&#8217;s labelling itself as the social browser. I&#8217;m posting this entry with it just to prove to myself that it might be worth adopting as my default.
Looks good so far. What do you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://flock.com/"><img class="alignright" alt="Flock" title="Flock" src="http://www.flock.com/start/images/start-flock-wordmark.png" /></a></p>
<p>Always a bit dubious when a new browser comes out, but this one might be different.</p>
<p>With Flickr, delicious and blog integration – it&#8217;s labelling itself as the social browser. I&#8217;m posting this entry with it just to prove to myself that it might be worth adopting as my default.</p>
<p>Looks good so far. What do you think?</p>
<p style="text-align: right; font-size: 0.9em">Blogged with <a target="_new" title="Flock" href="http://www.flock.com/blogged-with-flock">Flock</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/web-browsers/flock/feed/</wfw:commentRss>
		</item>
		<item>
		<title>UK law extends to online media for key information</title>
		<link>http://pedesign.co.uk/blog/accessibility/uk-law-extends-to-online-media-for-key-information/</link>
		<comments>http://pedesign.co.uk/blog/accessibility/uk-law-extends-to-online-media-for-key-information/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 11:16:26 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>Accessibility</category>

		<guid isPermaLink="false">http://pedesign.co.uk/blog/uncategorized/uk-law-extends-to-online-media-for-key-information/</guid>
		<description><![CDATA[Did you know that companies in the UK must include certain regulatory information on their company websites and in their email footers from 1st January 2007 or they will breach the Companies Act in the UK and risk a fine.
Read more at Accessibility 101.

]]></description>
			<content:encoded><![CDATA[<blockquote><p>Did you know that companies in the UK must include certain regulatory information on their company websites and in their email footers from 1st January 2007 or they will breach the Companies Act in the UK and risk a fine.</p></blockquote>
<p>Read more at <a href="http://www.accessibility101.org.uk/accessibility101-blog/?p=30">Accessibility 101</a>.
</p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/accessibility/uk-law-extends-to-online-media-for-key-information/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Styling form buttons with CSS</title>
		<link>http://pedesign.co.uk/blog/css/styling-form-buttons-with-css/</link>
		<comments>http://pedesign.co.uk/blog/css/styling-form-buttons-with-css/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 22:08:16 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>CSS</category>

		<category>XHTML</category>

		<guid isPermaLink="false">http://pedesign.co.uk/blog/css/styling-form-buttons-with-css/</guid>
		<description><![CDATA[There&#8217;s a wide range of opinion on styling form buttons with CSS. Is it even worth it? Different platforms and browsers all render them differently, right?
This article sets out a practical example of 3 varying button styles of increasing CSS complexity and shows how these render for &#60;button&#62; and &#60;input&#62; on a wide variety of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>There&#8217;s a wide range of opinion on styling form buttons with CSS. Is it even worth it? Different platforms and browsers all render them differently, right?</strong></p>
<p>This article sets out a practical example of 3 varying button styles of increasing CSS complexity and shows how these render for <code>&lt;button&gt;</code> and <code>&lt;input&gt;</code> on a wide variety of platforms and browsers (40 variants!). </p>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/desired.gif" width="260" height="47" /></p>
<p>The base code is XHTML (DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;):</p>
<p><code>&lt;input&nbsp;type=&quot;submit&quot;&nbsp;value=&quot;Submit&quot; /&gt;<br />
&lt;input&nbsp;type=&quot;submit&quot;&nbsp;value=&quot;Submit&quot;&nbsp;class=&quot;s1&quot;&nbsp;/&gt;<br />
&lt;input type=&quot;submit&quot;&nbsp;value=&quot;Submit&quot;&nbsp;class=&quot;s2&quot;&nbsp;/&gt;<br />
&lt;button&nbsp;value=&quot;submit&quot;&nbsp;type=&quot;submit&quot;&gt;Submit&lt;/button&gt;<br />
&lt;button&nbsp;type=&quot;submit&quot;&nbsp;value=&quot;submit&quot;&nbsp;class=&quot;s1&quot;&gt;Submit&lt;/button&gt;<br />
&lt;button&nbsp;type=&quot;submit&quot;&nbsp;value=&quot;submit&quot;&nbsp;class=&quot;s2&quot;&gt;Submit&lt;/button&gt;<br />
&lt;button&nbsp;type=&quot;submit&quot;&nbsp;value=&quot;submit&quot;&nbsp;class=&quot;s3&quot;&gt;<br />
&lt;span&gt;Submit&lt;/span&gt;&lt;/button&gt;</code></p>
<p>The last button element includes the embedded span tag in a hopeful attempt to see if the classic &ldquo;<a href="http://alistapart.com/articles/slidingdoors/">Sliding Doors</a>&rdquo; technique could work to create nice rounded ends. Alas, this proves unfruitful, as there seems to be some kind of inherent padding inside of the button element. It works flawlessly on Opera and Safari though (bless &rsquo;em). </p>
<p><a id="more-12"></a></p>
<p>The following CSS rules are applied to the buttons through the s1, s2 and s3 classes:</p>
<p><code>.s1 {<br />
&nbsp;&nbsp;font-size: .8em;<br />
&nbsp;&nbsp;font-weight: bold;<br />
&nbsp;&nbsp;border: 1px solid #999;<br />
&nbsp;&nbsp;background-color: white;<br />
&nbsp;&nbsp;padding: .3em 1em .4em;<br />
&nbsp;&nbsp;} <br />
.s2 {<br />
&nbsp;&nbsp;font-size: .8em;<br />
&nbsp;&nbsp;font-weight: bold;<br />
&nbsp;&nbsp;border: 1px solid #999;<br />
&nbsp;&nbsp;background: white url(button_style2.png) bottom left no-repeat;<br />
&nbsp;&nbsp;padding: .3em 1em .4em;<br />
&nbsp;&nbsp;}<br />
.s3 {<br />
&nbsp;&nbsp;height: 35px;<br />
&nbsp;&nbsp;font-size: .8em;<br />
&nbsp;&nbsp;font-weight: bold;<br />
&nbsp;&nbsp;border: 0;<br />
&nbsp;&nbsp;padding: 0;<br />
&nbsp;&nbsp;background: white url(button_style3.png) top right no-repeat;<br />
&nbsp;&nbsp;padding: 0 20px 0 0;<br />
&nbsp;&nbsp;}<br />
.s3 span {<br />
&nbsp;&nbsp;height: 21px;<br />
&nbsp;&nbsp;padding: 7px 0 7px 15px;<br />
&nbsp;&nbsp;margin: 0 0 0 0;<br />
&nbsp;&nbsp;display: block;<br />
&nbsp;&nbsp;background: white url(button_style3.png) top left no-repeat;<br />
&nbsp;&nbsp;}</code></p>
<p>This is what we are after (Opera 8.5 Mac providing the benchmark in this case): </p>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op8-5-0-macosx10-4.gif" alt="Opera 8.5.0 Mac OSX 10.4" width="435" height="114" /> </p>
<p><a href="http://pedesign.co.uk/test/button/">You can view the test  page here</a></p>
<p>I&#8217;ve heard much debate on <code>&lt;button&gt;</code> vs <code>&lt;input&gt;</code>. By testing them both side by side will hopefully dispell some of the myths about how much easier it is to style the button tag. With the exception of Safari and Camino on the Mac there is very little difference for styles 1 and 2 and they render very similarly on all browsers.</p>
<p>It should be noted however, that there are <a href="http://www.peterbe.com/plog/button-tag-in-IE">issues with &lt;button&gt; in Internet Explorer</a>, relating to forms with multiple buttons on Internet Explorer.</p>
<h3>Testing platforms and browsers</h3>
<p>The page was tested on Mac OSX 10.4, Windows 98/2000/XP/Vista &amp; Linux with AOL, Camino, Firefox, Internet Explorer, Konqueror, Mozilla, Netscape, Opera and Safari. Screenshots for each of these can viewed below. Use the anchor links below to go directly to the one you want.</p>
<p><a name="list" id="list"></a></p>
<ol>
<li><a href="#ss1">AOL 9.0 Windows 2000</a></li>
<li><a href="#ss2">Camino 1.0 Mac OSX 10.4</a></li>
<li><a href="#ss3">Firefox 5.0 Linux Fedora Core 4</a></li>
<li><a href="#ss4">Firefox 5.0 Mac OSX 10.4</a></li>
<li><a href="#ss5">Firefox 5.0 Windows 2000</a></li>
<li><a href="#ss6">Firefox 5.0 Windows XP</a></li>
<li><a href="#ss7">Firefox 2.0 Mac OSX 10.4</a></li>
<li><a href="#ss8">Firefox 2.0 Windows 2000</a></li>
<li><a href="#ss9">Firefox 2.0 Windows XP</a></li>
<li><a href="#ss10">Firefox 2.0 Windows Vista</a></li>
<li><a href="#ss11">Internet Explorer 4.0 Windows 98</a></li>
<li><a href="#ss12">Internet Explorer 5.0 Windows 2000</a></li>
<li><a href="#ss13">Internet Explorer 5.2 Mac OS 10.4</a></li>
<li><a href="#ss14">Internet Explorer 5.5 Windows 2000</a></li>
<li><a href="#ss15">Internet Explorer 6.0 Windows 2000</a></li>
<li><a href="#ss16">Internet Explorer 6.0 Windows XP</a></li>
<li><a href="#ss17">Internet Explorer 7.0 Windows 2000</a></li>
<li><a href="#ss18">Internet Explorer 7.0 Windows Vista</a></li>
<li><a href="#ss19">Konqueror 3.4.0-5 Linux Fedora Core 4</a></li>
<li><a href="#ss20">Mozilla 1.6 Mac OSX 10.4</a></li>
<li><a href="#ss21">Mozilla 1.6 Windows 2000</a></li>
<li><a href="#ss22">Mozilla 1.6 Windows XP</a></li>
<li><a href="#ss23">Mozilla 1.7.12 Linux Fedora Core 4 </a></li>
<li><a href="#ss24">Mozilla 1.7.12 Mac OSX 10.4</a></li>
<li><a href="#ss25">Mozilla 1.7.12 Windows 2000</a></li>
<li><a href="#ss26">Mozilla 1.7.12 Windows XP</a></li>
<li><a href="#ss27">Netscape 4.78 Windows 2000</a></li>
<li><a href="#ss28">Netscape 6.2.3 Windows XP </a></li>
<li><a href="#ss29">Netscape 6.2 Windows 2000 </a></li>
<li><a href="#ss30">Netscape 7.2 Mac OSX 10.4</a></li>
<li><a href="#ss31">Netscape 7.2 Windows 2000</a></li>
<li><a href="#ss32">Netscape 7.2 Windows XP</a></li>
<li><a href="#ss33">Opera 8.5.0  Mac OSX 10.4</a></li>
<li><a href="#ss34">Opera 8.5.0 Windows 2000</a></li>
<li><a href="#ss35">Opera 8.5.0 Windows XP</a></li>
<li><a href="#ss36">Opera 9.0 Mac OSX 10.4</a></li>
<li><a href="#ss37">Opera 9.0 Windows 2000</a></li>
<li><a href="#ss38">Opera 9.0 Windows XP</a></li>
<li><a href="#ss39">Opera 9.02 Windows Vista</a></li>
<li><a href="#ss40">Safari 2.0  Mac OSX 10.4</a></li>
</ol>
<h3><a name="ss1" id="ss1"></a>AOL 9.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/aol9-0-win2k.gif" alt="AOL 9.0 Windows 2000" width="528" height="119" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss2" id="ss2"></a>Camino 1.0 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/cm1-0-macosx10-4.gif" alt="Camino 1.0 Mac OSX 10.4" width="431" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss3" id="ss3"></a>Firefox 5.0 Linux Fedora Core 4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff1-5-0-linuxfc4.gif" alt="Firefox 5.0 Linux Fedora Core 4" width="416" height="125" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss4" id="ss4"></a>Firefox 5.0 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff1-5-0-macosx10-4.gif" alt="Firefox 5.0 Mac OSX 10.4" width="427" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss5" id="ss5"></a>Firefox 5.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff1-5-0-win2k.gif" alt="Firefox 5.0 Windows 2000" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss6" id="ss6"></a>Firefox 5.0 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff1-5-0-winxp.gif" alt="Firefox 5.0 Windows XP" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss7" id="ss7"></a>Firefox 2.0 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff2-0-macosx10-4.gif" alt="Firefox 2.0 Mac OSX 10.4" width="428" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss8" id="ss8"></a>Firefox 2.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff2-0-win2k.gif" alt="Firefox 2.0 Windows 2000" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss9" id="ss9"></a>Firefox 2.0 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff2-0-winxp.gif" alt="Firefox 2.0 Windows XP" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss10" id="ss10"></a>Firefox 2.0 Windows Vista</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ff2-0-winvista.gif" alt="Firefox 2.0 Windows Vista" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss11" id="ss11"></a>Internet Explorer 4.0 Windows 98</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie4-0-win98.gif" alt="Internet Explorer 4.0 Windows 98" width="469" height="137" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss12" id="ss12"></a>Internet Explorer 5.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie5-0-win2k.gif" alt="Internet Explorer 5.0 Windows 2000" width="511" height="121" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss13" id="ss13"></a>Internet Explorer 5.2 Mac OS 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie5-2-macosx10-4.gif" alt="Internet Explorer 5.2 Mac OS 10.4" width="427" height="134" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss14" id="ss14"></a>Internet Explorer 5.5 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie5-5-win2k.gif" alt="Internet Explorer 5.5 Windows 2000" width="512" height="119" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss15" id="ss15"></a>Internet Explorer 6.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie6-0-win2k.gif" alt="Internet Explorer 6.0 Windows 2000" width="528" height="119" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss16" id="ss16"></a>Internet Explorer 6.0 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie6-0-winxp.gif" alt="Internet Explorer 6.0 Windows XP" width="528" height="119" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss17" id="ss17"></a>Internet Explorer 7.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie7-0-winxp.gif" alt="Internet Explorer 7.0 Windows 2000" width="528" height="119" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss18" id="ss18"></a>Internet Explorer 7.0 Windows Vista</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ie7-0-winvista.gif" alt="Internet Explorer 7.0 Windows Vista" width="528" height="119" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss19" id="ss19"></a>Konqueror 3.4.0-5 Linux Fedora Core 4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/kq3-4-0-5-linuxfc4.gif" alt="Konqueror 3.4.0-5 Linux Fedora Core 4" width="409" height="126" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss20" id="ss20"></a>Mozilla 1.6 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/mz1-6-macosx10-4.gif" alt="Mozilla 1.6 Mac OSX 10.4" width="427" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss21" id="ss21"></a>Mozilla 1.6 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/mz1-6-win2k.gif" alt="Mozilla 1.6 Windows 2000" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss22" id="ss22"></a>Mozilla 1.6 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/mz1-6-winxp.gif" alt="Mozilla 1.6 Windows XP" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss23" id="ss23"></a>Mozilla 1.7.12 Linux Fedora Core 4 </h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/mz1-7-12-linuxfc4.gif" alt="Mozilla 1.7.12 Linux Fedora Core 4 " width="419" height="125" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss24" id="ss24"></a>Mozilla 1.7.12 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/mz1-7-12-macosx10-4.gif" alt="Mozilla 1.7.12 Mac OSX 10.4" width="427" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss25" id="ss25"></a>Mozilla 1.7.12 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/mz1-7-12-win2k.gif" alt="Mozilla 1.7.12 Windows 2000" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss26" id="ss26"></a>Mozilla 1.7.12 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/mz1-7-12-winxp.gif" alt="Mozilla 1.7.12 Windows XP" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss27" id="ss27"></a>Netscape 4.78 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ns4-78-win2k.gif" alt="Netscape 4.78 Windows 2000" width="434" height="137" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss28" id="ss28"></a>Netscape 6.2.3 Windows XP </h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ns6-2-3-winxp.gif" alt="Netscape 6.2.3 Windows XP " width="485" height="140" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss29" id="ss29"></a>Netscape 6.2 Windows 2000 </h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ns6-2-win2k.gif" alt="Netscape 6.2 Windows 2000 " width="485" height="140" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss30" id="ss30"></a>Netscape 7.2 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ns7-2-macosx10-4.gif" alt="Netscape 7.2 Mac OSX 10.4" width="427" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss31" id="ss31"></a>Netscape 7.2 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ns7-2-win2k.gif" alt="Netscape 7.2 Windows 2000" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss32" id="ss32"></a>Netscape 7.2 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/ns7-2-winxp.gif" alt="Netscape 7.2 Windows XP" width="433" height="118" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss33" id="ss33"></a>Opera 8.5.0  Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op8-5-0-macosx10-4.gif" alt="Opera 8.5.0 Mac OSX 10.4" width="435" height="114" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss34" id="ss34"></a>Opera 8.5.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op8-5-0-win2k.gif" alt="Opera 8.5.0 Windows 2000" width="423" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss35" id="ss35"></a>Opera 8.5.0 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op8-5-0-winxp.gif" alt="Opera 8.5.0 Windows XP" width="423" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss36" id="ss36"></a>Opera 9.0 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op9-0-macosx10-4.gif" alt="Opera 9.0 Mac OSX 10.4" width="491" height="114" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss37" id="ss37"></a>Opera 9.0 Windows 2000</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op9-0-win2k.gif" alt="Opera 9.0 Windows 2000" width="489" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss38" id="ss38"></a>Opera 9.0 Windows XP</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op9-0-winxp.gif" alt="Opera 9.0 Windows XP" width="489" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss39" id="ss39"></a>Opera 9.02 Windows Vista</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/op9-02-winvista.gif" alt="Opera 9.02 Windows Vista" width="489" height="115" /></p>
<p><a href="#list">Back to list</a></p>
<h3><a name="ss40" id="ss40"></a>Safari 2.0 Mac OSX 10.4</h3>
<p><img src="http://www.pedesign.co.uk/test/button/screenshots/sf2-0-macosx10-4.gif" alt="Safari 2.0 Mac OSX 10.4" width="408" height="113" /></p>
<p><a href="#list">Back to list</a></p>
<p>I hope you find this useful. I&#8217;ve just noticed that <a href="http://www.456bereastreet.com">Roger Johansson</a> has <a href="http://www.456bereastreet.com/archive/200701/styling_form_controls_with_css_revisited/">updated his &ldquo;Styling form controls&rdquo; article</a> which shows how individual CSS styles render on a range of form elements. </p>
<p>Sorry if I missed out your browser or operating system, I thought 40 variants would be enough!</p>
<p><em>For the record, these screens were put together with the fantastic service of <a href="http://www.browsercam.com/" title="Developer Tools for Validating the End-User Perspective">Browsercam</a>. Go and check it out and be sure to let them know I sent you if you sign up! </em></p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/css/styling-form-buttons-with-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stripping down old code using Dreamweaver</title>
		<link>http://pedesign.co.uk/blog/dreamweaver/stripping-down-old-code/</link>
		<comments>http://pedesign.co.uk/blog/dreamweaver/stripping-down-old-code/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 00:38:38 +0000</pubDate>
		<dc:creator>paul</dc:creator>
		
		<category>Dreamweaver</category>

		<category>XHTML</category>

		<guid isPermaLink="false">http://pedesign.dreamhosters.com/blog/?p=3</guid>
		<description><![CDATA[I recently acquired a job to re-write an existing web application that was written in “old” HTML code. You know the sort, inline styling, unnecessary tags, weird classes, table based layouts nested to the nth degree, etc, etc.

Rather than starting writing shiny new XHTML from scratch, I thought I&#8217;d make use of some of Dreamweaver’s [...]]]></description>
			<content:encoded><![CDATA[<p>I recently acquired a job to re-write an existing web application that was written in “old” HTML code. You know the sort, inline styling, unnecessary tags, weird classes, table based layouts nested to the nth degree, etc, etc.</p>
<p><img alt="Old code example" id="image5" title="Old code example" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/dw_oldcode.gif" /></p>
<p>Rather than starting writing shiny new XHTML from scratch, I thought I&#8217;d make use of some of <a href="http://www.adobe.com/products/dreamweaver/">Dreamweaver’s</a> capabilities for batch processing and find and replace functionality.</p>
<p><strong>Looking into “Regular Expressions”, I found the answer.</strong></p>
<p><a id="more-3"></a>Start by choosing the files you want to strip down. I&#8217;ve set up a basic example here showing just 3 HTML files under a Project called “old site html”. In reality you&#8217;d probably have a lot more to make use of the batch process.</p>
<p><img alt="Dreamweaver site files" id="image6" title="Dreamweaver site files" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/dw_sitefiles.png" /></p>
<p>Select the directory containing all the files you want to strip down (As shown above) and select “Find and Replace…” from the Edit menu.</p>
<p><img alt="Dreamweaver Find and Replace" id="image7" title="Dreamweaver Find and Replace" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/dw_findreplace.png" /></p>
<p>The Find and Replace window is pretty straight forward.</p>
<ul>
<li>Make sure that “Find in” is set to “Selected Files in Site”. If you forgot to select the directory you can always use the “Folder…” option here. I was just trying to save you a few clicks!</li>
<li>Search should be set to “Source Code”</li>
<li>Then make sure you check the “Use regular expression” checkbox at the bottom</li>
</ul>
<p>Now comes the trickier part. Regular expressions. Let&#8217;s start with the table tag. The follow expression will select an entire  table tag, including all it’s attributes.</p>
<p><code>&lt;table [^&gt;]*&gt;</code></p>
<p>Enter this expression into the “Find” field and then enter the following into the “Replace” field.</p>
<p><code>&lt;table&gt;</code></p>
<p><img alt="Old code example" id="image9" title="Old code example" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/dw_findreplace_table.png" /></p>
<p>Test the expression by clicking “Find Next”. You&#8217;ll see that it&#8217;ll open up the first matching document with the first table tag selected.</p>
<p><img alt="Old code example" id="image8" title="Old code example" src="http://pedesign.co.uk/blog/wp-content/uploads/2007/02/dw_oldcode_table.png" /></p>
<p>Click “Replace” and the table tag will be stripped of it’s ugly, old attributes and the next match will be found. If you&#8217;re feeling confident enough, just click “Replace All” to strip all table tags in the selected folder.</p>
<p>You can adapt this method for different tags or opt for a catch all solution using this expression:</p>
<p>Find:<br />
<code>(&lt;)([A-Za-z]+) ([^&gt;]*&gt;)</code></p>
<p>Replace:<br />
<code>&lt;$2&gt;</code></p>
<p>This will catch any tag and strip out it’s attributes leaving the existing tag in place. It uses sub expressions which can get a little complex. You should also bear in mind that there are some attributes that you will not want to strip out! (e.g. colspan, rowspan).</p>
<p>For further reading on Regular Expressions in Dreamweaver (including sub expressions), see <a href="http://www.adobe.com/devnet/dreamweaver/articles/regular_expressions.html">Rob Christensen’s article</a> on the <a href="http://www.adobe.com/">Adobe</a> website.
</p>
]]></content:encoded>
			<wfw:commentRss>http://pedesign.co.uk/blog/dreamweaver/stripping-down-old-code/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
