<?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/" version="2.0"><channel><title>Line25</title> <link>http://line25.com</link> <description>Ideas and Inspiration from the Drawing Board of Creative Web Design</description> <lastBuildDate>Mon, 30 Aug 2010 06:00:30 +0000</lastBuildDate> <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" type="application/rss+xml" href="http://feeds.feedburner.com/Line25" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="line25" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Line25</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Line25" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FLine25" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item><title>Post-Install Plugins to Enhance &amp; Protect WordPress</title><link>http://line25.com/articles/post-install-plugins-to-enhance-protect-wordpress</link> <comments>http://line25.com/articles/post-install-plugins-to-enhance-protect-wordpress#comments</comments> <pubDate>Mon, 30 Aug 2010 06:00:30 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Articles]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[blogger]]></category> <category><![CDATA[blogging]]></category> <category><![CDATA[coding]]></category> <category><![CDATA[plugins]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[website]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://line25.com/?p=1342</guid> <description><![CDATA[WordPress is a fantastic, easy to install application that&#8217;s packed full of useful features. It&#8217;s all ready to rock straight out of the box, but there&#8217;s a few easy customisations you can make with a cocktail of plugins that will enhance the functionality as well as offer crucial protection. This is my collection of post-install [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://wordpress.org">WordPress</a> is a fantastic, easy to install application that&#8217;s packed full of useful features. It&#8217;s all ready to rock straight out of the box, but there&#8217;s a few easy customisations you can make with a cocktail of plugins that will enhance the functionality as well as offer crucial protection. This is my collection of post-install plugins that I immediately add to every WordPress install I work on &#8211; There&#8217;s no fancy gallery plugins here, just back-to-basics additions to improve speed, SEO and security.</p><p><span
id="more-1342"></span></p><h3 class="header">Akismet</h3><p><a
href="http://akismet.com/"><img
src="http://line25.com/wp-content/uploads/2010/wordpress-plugins/akismet.jpg" alt"Akismet" /></a></p><p>Akismet is so crucial to a WordPress blog it even comes pre-installed. All you need to do is sign up for an API key from WordPress.com in order to activate the plugin.</p><h4>What does it do?</h4><p>Akismet works on the front line in the battle against spam. It picks out spammy comments from your blog and helps protect your site against those pesky spam bots.</p><p
class="btn"><a
href="http://wordpress.org/extend/plugins/akismet/">Download the plugin</a></p><h3 class="header">All in One SEO Pack</h3><p><a
href="http://semperfiwebdesign.com/portfolio/wordpress/wordpress-plugins/all-in-one-seo-pack/"><img
src="http://line25.com/wp-content/uploads/2010/wordpress-plugins/all-in-one-seo-pack.jpg" alt"All In One SEO Pack" /></a></p><p>Changing your Permalink structure is the first step you should take to a more optimised blog. The second step is to install the All in One SEO pack to allow complete customisation of every post and page to squeeze out the best search optimisation you can.</p><h4>What does it do?</h4><p>The All in One SEO pack makes a few important SEO improvements to your WordPress blog, such as canonical URL redirection and reconfiguration of page titles. More importantly it gives you complete control over the page title, meta description and keywords for every post and page so you can completely optimise your site.</p><p
class="btn"><a
href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">Download the plugin</a></p><h3 class="header">Google XML Sitemaps</h3><p><a
href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/"><img
src="http://line25.com/wp-content/uploads/2010/wordpress-plugins/google-xml-sitemaps.jpg" alt"Google XML Sitemaps" /></a></p><p>After settings up your permalinks and installing the All in One SEO pack, all that&#8217;s left to do to completely SEO&#8217;ify your blog is to provide the Googlebots a sitemap to feast on. The Google XML Sitemaps plugin does exactly what it says on the tin&hellip;</p><h4>What does it do?</h4><p>The Google XML Sitemaps plugin creates and regenerates an XML based sitemap file that lists every page of your site in order of popularity. This allows the bots to easily crawl your pages, as well as quickly update changed pages in the search index.</p><p
class="btn"><a
href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Download the plugin</a></p><h3 class="header">Login Lockdown</h3><p><a
href="http://www.bad-neighborhood.com/login-lockdown.html"><img
src="http://line25.com/wp-content/uploads/2010/wordpress-plugins/login-lockdown.jpg" alt"Login Lockdown" /></a></p><p>Brute force attacks are one of the most common ways blogs are hacked. One way to protect against this is with the Login Lockdown plugin, which provides a sturdy security wall between your site and the bad people by limiting the number of login attempts and blocking out IPs that exceed this set amount.</p><h4>What does it do?</h4><p>The Login Lockdown can be configured to allow X number of login retries. Once these retries have been exceeded, that particular IP will be locked out for a period of time (also configurable). The plugin also allows you to mask login errors, so WordPress will no longer give hackers a clue if they correctly guessed your username.</p><p
class="btn"><a
href="http://wordpress.org/extend/plugins/login-lockdown/">Download the plugin</a></p><h3 class="header">W3 Total Cache</h3><p><a
href="http://www.w3-edge.com/wordpress-plugins/w3-total-cache/"><img
src="http://line25.com/wp-content/uploads/2010/wordpress-plugins/w3-total-cache.jpg" alt"W3 Total Cache" /></a></p><p>I&#8217;ve played around with just about every caching plugin out there, but W3 Total Cache definitely gets my recommendation. Caching is one of the most important additions to any WordPress blog. The W3 Total Cache plugin not only provides page caching, but also has database caching, object caching and a minify system built right in &#8211; All with customisable options.</p><h4>What does it do?</h4><p>W3 Total Cache speeds up your WordPress site by caching pages. Instead of WordPress making multiple calls to the server upon every visit, it displays a ready-made static file or reuses queries from the cache. This provides a huge speed increase and eases the load on your web server.</p><p
class="btn"><a
href="http://wordpress.org/extend/plugins/w3-total-cache/">Download the plugin</a></p><h3 class="header">WP-DBManager</h3><p><a
href="http://lesterchan.net/portfolio/programming/php/#wp-dbmanager"><img
src="http://line25.com/wp-content/uploads/2010/wordpress-plugins/wp-dbmanager.jpg" alt"WP-DBManager" /></a></p><p>Regularly taking backups of your WordPress database is as important as remembering breathe. There&#8217;s a good selection of &#8216;scheduled backup&#8217; plugins out there, but my favourite is WP-DBManager. Not only does this plugin provide useful scheduling options, but it also allows you to browse, restore and optimize your database directly in WordPress.</p><h4>What does it do?</h4><p>WP-DBManager allows you to browse your database tables, restore existing backups, automatically optimize your database and set regular scheduled backups at interval of hours, days or months.</p><p
class="btn"><a
href="http://wordpress.org/extend/plugins/wp-dbmanager/">Download the plugin</a></p><h3 class="header">WP Smush.it</h3><p><a
href="http://dialect.ca/code/wp-smushit/"><img
src="http://line25.com/wp-content/uploads/2010/wordpress-plugins/wp-smushit.jpg" alt"WP Smush.it" /></a></p><p>The images you upload to your WordPress blog will account for a large portion of the load your server deals with. Smushing these images strips out the meta data, optimizes compression and removes unused colours from JPEG, GIF and PNG files, which in turn reduced their size by a couple of percent. This change isn&#8217;t huge on a per-file basis, but it all adds up when calculated across the whole site!</p><h4>What does it do?</h4><p>WP Smush.it automatically sends all the images you upload via the WordPress media uploader through the Smush.it API to optimize the images. You can even go back and Smush all your existing images using the handy button in the media browser.</p><p
class="btn"><a
href="http://wordpress.org/extend/plugins/wp-smushit/">Download the plugin</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=oed5I8VlDW8:1wz0Rsf6f5k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=oed5I8VlDW8:1wz0Rsf6f5k:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=oed5I8VlDW8:1wz0Rsf6f5k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=oed5I8VlDW8:1wz0Rsf6f5k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=oed5I8VlDW8:1wz0Rsf6f5k:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=oed5I8VlDW8:1wz0Rsf6f5k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=oed5I8VlDW8:1wz0Rsf6f5k:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/articles/post-install-plugins-to-enhance-protect-wordpress/feed</wfw:commentRss> <slash:comments>25</slash:comments> </item> <item><title>Line25 Sites of the Week for August 27th 2010</title><link>http://line25.com/inspiration/line25-sites-of-the-week-for-august-27th-2010</link> <comments>http://line25.com/inspiration/line25-sites-of-the-week-for-august-27th-2010#comments</comments> <pubDate>Fri, 27 Aug 2010 08:18:09 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Inspiration]]></category> <category><![CDATA[links]]></category> <category><![CDATA[roundup]]></category> <category><![CDATA[sites of the week]]></category> <category><![CDATA[web design]]></category><guid isPermaLink="false">http://line25.com/?p=1335</guid> <description><![CDATA[Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Little Black Dress Society, Themify, Hull Digital, CandyBar and Carbon Ads. Little Black Dress Society View the website Themify View the website Hull [...]]]></description> <content:encoded><![CDATA[<p>Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Little Black Dress Society, Themify, Hull Digital, CandyBar and Carbon Ads.</p><p><span
id="more-1335"></span></p><h3><a
href="http://www.lbdsociety.com/">Little Black Dress Society</a></h3><p><a
href="http://www.lbdsociety.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/little-black-dress-society.jpg" alt="" title="Little Black Dress Society" width="500" height="271" class="alignnone size-full wp-image-1340" /></a></p><p
class="btn"><a
href="http://www.lbdsociety.com/">View the website</a></p><h3><a
href="http://themify.me/">Themify</a></h3><p><a
href="http://themify.me/"><img
src="http://line25.com/wp-content/uploads/2010/08/themify.jpg" alt="" title="Themify" width="500" height="271" class="alignnone size-full wp-image-1341" /></a></p><p
class="btn"><a
href="http://themify.me/">View the website</a></p><h3><a
href="http://www.hd-live.co.uk/">Hull Digital Live 10</a></h3><p><a
href="http://www.hd-live.co.uk/"><img
src="http://line25.com/wp-content/uploads/2010/08/hull-digital.jpg" alt="" title="Hull Digital" width="500" height="271" class="alignnone size-full wp-image-1339" /></a></p><p
class="btn"><a
href="http://www.hd-live.co.uk/">View the website</a></p><h3><a
href="http://www.panic.com/candybar/">CandyBar</a></h3><p><a
href="http://www.panic.com/candybar/"><img
src="http://line25.com/wp-content/uploads/2010/08/candybar.jpg" alt="" title="CandyBar" width="500" height="271" class="alignnone size-full wp-image-1336" /></a></p><p
class="btn"><a
href="http://www.panic.com/candybar/">View the website</a></p><h3><a
href="http://www.carbonads.net/index.php">Carbon Ads</a></h3><p><a
href="http://www.carbonads.net/index.php"><img
src="http://line25.com/wp-content/uploads/2010/08/carbon-ads.jpg" alt="" title="Carbon Ads" width="500" height="271" class="alignnone size-full wp-image-1337" /></a></p><p
class="btn"><a
href="http://www.carbonads.net/index.php">View the website</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=h6RYmMoKetU:fLCTG0wAlRo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=h6RYmMoKetU:fLCTG0wAlRo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=h6RYmMoKetU:fLCTG0wAlRo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=h6RYmMoKetU:fLCTG0wAlRo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=h6RYmMoKetU:fLCTG0wAlRo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=h6RYmMoKetU:fLCTG0wAlRo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=h6RYmMoKetU:fLCTG0wAlRo:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/inspiration/line25-sites-of-the-week-for-august-27th-2010/feed</wfw:commentRss> <slash:comments>20</slash:comments> </item> <item><title>Beautiful Mac App Web Design Showcase &amp; Trends</title><link>http://line25.com/articles/beautiful-mac-app-web-design-showcase-trends</link> <comments>http://line25.com/articles/beautiful-mac-app-web-design-showcase-trends#comments</comments> <pubDate>Mon, 23 Aug 2010 07:00:43 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Articles]]></category> <category><![CDATA[apple]]></category> <category><![CDATA[design]]></category> <category><![CDATA[Inspiration]]></category> <category><![CDATA[interface]]></category> <category><![CDATA[links]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[trends]]></category> <category><![CDATA[web design]]></category><guid isPermaLink="false">http://line25.com/?p=1334</guid> <description><![CDATA[Website designs for premium Mac application websites are amongst the most beautiful web designs on the net. Here&#8217;s an inspirational showcase of some of the best, along with a look at some common trends and features. Kaleidocope Cockpit Transmit RapidWeaver Delibar Versions Silverback Espionage Socialite Cornerstone Thoughts Postbox Espresso Capo Common features There&#8217;s a hand [...]]]></description> <content:encoded><![CDATA[<p>Website designs for premium Mac application websites are amongst the most beautiful web designs on the net. Here&#8217;s an inspirational showcase of some of the best, along with a look at some common trends and features.</p><p><span
id="more-1334"></span></p><h3><a
href="http://www.kaleidoscopeapp.com/">Kaleidocope</a></h3><p><a
href="http://www.kaleidoscopeapp.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/1.jpg" alt="View the website" /></a></p><h3><a
href="http://www.cockpitapp.com/">Cockpit</a></h3><p><a
href="http://www.cockpitapp.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/2.jpg" alt="View the website" /></a></p><h3><a
href="http://www.panic.com/transmit/">Transmit</a></h3><p><a
href="http://www.panic.com/transmit/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/3.jpg" alt="View the website" /></a></p><h3><a
href="http://www.realmacsoftware.com/rapidweaver/">RapidWeaver</a></h3><p><a
href="http://www.realmacsoftware.com/rapidweaver/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/4.jpg" alt="View the website" /></a></p><h3><a
href="http://delibarapp.com/">Delibar</a></h3><p><a
href="http://delibarapp.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/5.jpg" alt="View the website" /></a></p><h3><a
href="http://versionsapp.com/">Versions</a></h3><p><a
href="http://versionsapp.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/6.jpg" alt="View the website" /></a></p><h3><a
href="http://silverbackapp.com/">Silverback</a></h3><p><a
href="http://silverbackapp.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/7.jpg" alt="View the website" /></a></p><h3><a
href="http://www.taoeffect.com/espionage/">Espionage</a></h3><p><a
href="http://www.taoeffect.com/espionage/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/8.jpg" alt="View the website" /></a></p><h3><a
href="http://www.realmacsoftware.com/socialite/">Socialite</a></h3><p><a
href="http://www.realmacsoftware.com/socialite/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/9.jpg" alt="View the website" /></a></p><h3><a
href="http://www.zennaware.com/">Cornerstone</a></h3><p><a
href="http://www.zennaware.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/10.jpg" alt="View the website" /></a></p><h3><a
href="http://thoughtsapp.com/">Thoughts</a></h3><p><a
href="http://thoughtsapp.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/11.jpg" alt="View the website" /></a></p><h3><a
href="http://www.postbox-inc.com/">Postbox</a></h3><p><a
href="http://www.postbox-inc.com/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/12.jpg" alt="View the website" /></a></p><h3><a
href="http://macrabbit.com/espresso/">Espresso</a></h3><p><a
href="http://macrabbit.com/espresso/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/13.jpg" alt="View the website" /></a></p><h3><a
href="http://supermegaultragroovy.com/products/Capo/">Capo</a></h3><p><a
href="http://supermegaultragroovy.com/products/Capo/"><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/14.jpg" alt="View the website" /></a></p><h3 class="header">Common features</h3><p>There&#8217;s a hand full of design features that tend to appear time and time again in the designs of Mac app websites. Some of these design trends take inspiration directly from Apple, like the well designed features layout &#8211; a common trait of an Apple.com webpage &#8211; while others are commonly used techniques in the world of website design that are taken a step further, example being the use of icons to reinforce the text with a visual clue, but these icons are much larger in size and include much more detail.</p><h3>Vibrant colours</h3><p><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/colourful.jpg" alt="" /></p><p>Almost every site in the showcase features a mix of vibrant colours, either in the form of an illustration or from the large icons on the page. A dark background colour helps these colours &#8216;pop&#8217; with a super bright appearance.</p><h3>Large buttons</h3><p><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/buttons.jpg" alt="" /></p><p>Being downloadable applications means a prominent download or buy now link is crucial. Large and chunky buttons have become popular elements across the web design industry, but Mac app websites often feature oversized button graphics with a tactile feel created with subtle shading and highlights.</p><h3>Features icons</h3><p><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/feature-icons.jpg" alt="" /></p><p>The use of icons to reinforce nearby text is nothing new in web design, but Apple&#8217;s own use of large and more detailed icons has led to icon designs becoming bigger in size; more detailed and vibrant; and generally more unique in the type of imagery they depict.</p><h3>Oversized icons</h3><p><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/large-icon.jpg" alt="" /></p><p>The icons in OSX are designed at extra large proportions, so the icons for the apps themselves also need to be oversized and therefore include plenty of detail. These icons act as the app&#8217;s logo and branding &#8211; It&#8217;s what people will recognise the app by when its sat in their dock, so it makes sense to use the supersized icon as part of the website design.</p><h3>Designed layouts</h3><p><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/layout.jpg" alt="" /></p><p>Usually the surrounding interface of a website is designed, then the content is simply inserted and forgotten about. However the Apple website is a great example of how the content itself is designed, as well as the surrounding page. The Mac app websites often take inspiration from this, combining imagery and text into flowing layouts.</p><h3>Modal windows</h3><p><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/modal.jpg" alt="" /></p><p>Javascript Lightboxes and modal windows have become pretty much standard in today&#8217;s web, but this particular style of window appears time and time again in Apple related site designs. These lightbox windows are great for showing off screenshots of the app, or an introductory video.</p><h3>Crisp &amp; sharp interface design</h3><p><img
src="http://line25.com/wp-content/uploads/2010/mac-apps/sharp.jpg" alt="" /></p><p>The OSX interface is razor sharp with tiny pixel bevels and highlights giving a really crisp appearance. This design style has emerged onto the web, particularly in Mac, iPhone and iPad related websites. Soft and subtle shadows, inset text and 1px highlighting lines all add to the theme.</p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=2JDQ0eswti4:fXhExC2uCfE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=2JDQ0eswti4:fXhExC2uCfE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=2JDQ0eswti4:fXhExC2uCfE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=2JDQ0eswti4:fXhExC2uCfE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=2JDQ0eswti4:fXhExC2uCfE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=2JDQ0eswti4:fXhExC2uCfE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=2JDQ0eswti4:fXhExC2uCfE:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/articles/beautiful-mac-app-web-design-showcase-trends/feed</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>Line25 Sites of the Week for August 20th 2010</title><link>http://line25.com/inspiration/line25-sites-of-the-week-for-august-20th-2010</link> <comments>http://line25.com/inspiration/line25-sites-of-the-week-for-august-20th-2010#comments</comments> <pubDate>Fri, 20 Aug 2010 06:30:46 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Inspiration]]></category> <category><![CDATA[links]]></category> <category><![CDATA[roundup]]></category> <category><![CDATA[sites of the week]]></category> <category><![CDATA[web design]]></category><guid isPermaLink="false">http://line25.com/?p=1327</guid> <description><![CDATA[Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Solid Giant, Word Refuge, Harry Ford, Steve Schoger and Apollo. Solid Giant View the website Word Refuge View the website Harry Ford View [...]]]></description> <content:encoded><![CDATA[<p>Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Solid Giant, Word Refuge, Harry Ford, Steve Schoger and Apollo.</p><p><span
id="more-1327"></span></p><h3><a
href="http://solidgiant.com/">Solid Giant</a></h3><p><a
href="http://solidgiant.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/solid-giant.jpg" alt="" title="Solid Giant" width="500" height="270" class="alignnone size-full wp-image-1331" /></a></p><p
class="btn"><a
href="http://solidgiant.com/">View the website</a></p><h3><a
href="http://www.wordrefuge.com/">Word Refuge</a></h3><p><a
href="http://www.wordrefuge.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/word-refuge.jpg" alt="" title="Word Refuge" width="500" height="270" class="alignnone size-full wp-image-1333" /></a></p><p
class="btn"><a
href="http://www.wordrefuge.com/">View the website</a></p><h3><a
href="http://hford.co.uk/">Harry Ford</a></h3><p><a
href="http://hford.co.uk/"><img
src="http://line25.com/wp-content/uploads/2010/08/harry-ford.jpg" alt="" title="Harry Ford" width="500" height="270" class="alignnone size-full wp-image-1329" /></a></p><p
class="btn"><a
href="http://hford.co.uk/">View the website</a></p><h3><a
href="http://www.steveschoger.com/">Steve Schoger</a></h3><p><a
href="http://www.steveschoger.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/steve-schoger.jpg" alt="" title="Steve Schoger" width="500" height="270" class="alignnone size-full wp-image-1332" /></a></p><p
class="btn"><a
href="http://www.steveschoger.com/">View the website</a></p><h3><a
href="http://www.apollohq.com/">Apollo</a></h3><p><a
href="http://www.apollohq.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/apollo.jpg" alt="" title="Apollo" width="500" height="270" class="alignnone size-full wp-image-1328" /></a></p><p
class="btn"><a
href="http://www.apollohq.com/">View the website</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=tmlxs1WODoQ:lz4VRp2c4Ss:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=tmlxs1WODoQ:lz4VRp2c4Ss:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=tmlxs1WODoQ:lz4VRp2c4Ss:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=tmlxs1WODoQ:lz4VRp2c4Ss:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=tmlxs1WODoQ:lz4VRp2c4Ss:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=tmlxs1WODoQ:lz4VRp2c4Ss:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=tmlxs1WODoQ:lz4VRp2c4Ss:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/inspiration/line25-sites-of-the-week-for-august-20th-2010/feed</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>How To Add a Custom Facebook Like Box to Your Site</title><link>http://line25.com/tutorials/how-to-add-a-custom-facebook-like-box-to-your-site</link> <comments>http://line25.com/tutorials/how-to-add-a-custom-facebook-like-box-to-your-site#comments</comments> <pubDate>Mon, 16 Aug 2010 06:00:24 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[blogging]]></category> <category><![CDATA[coding]]></category> <category><![CDATA[css]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[design]]></category> <category><![CDATA[facebook]]></category> <category><![CDATA[interface]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[social]]></category> <category><![CDATA[techniques]]></category> <category><![CDATA[tips]]></category> <category><![CDATA[web design]]></category><guid isPermaLink="false">http://line25.com/?p=1326</guid> <description><![CDATA[Facebook pages are becoming more and more popular with brands, bands, organisations and celebrities who want to boost their social exposure on the web. Facebook&#8217;s social plugins and widgets are a great way to link your Facebook page with your website. Let&#8217;s look at how to not only insert the popular Like Box code onto [...]]]></description> <content:encoded><![CDATA[<p>Facebook pages are becoming more and more popular with brands, bands, organisations and celebrities who want to boost their social exposure on the web. Facebook&#8217;s social plugins and widgets are a great way to link your Facebook page with your website. Let&#8217;s look at how to not only insert the popular Like Box code onto your website, but also how to customize it to fit with your design, and make sure the code correctly validates.</p><p><span
id="more-1326"></span></p><p><a
href="http://line25.com/wp-content/uploads/2010/facebook/demo/index.html"><img
src="http://line25.com/wp-content/uploads/2010/facebook/7.jpg" alt="View the Facebook Like Box demo" /></a></p><p
class="btn"><a
href="http://line25.com/wp-content/uploads/2010/facebook/demo/index.html">View the Facebook Like Box demo</a></p><h3 class="header">Setting up the Like Box widget</h3><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/1.png" alt="" /></p><p>First things first, let&#8217;s get the basic Like Box widget set up. Log into your Facebook account and click the &#8216;Edit page&#8217; link on the left side of your page&#8217;s profile. Over on the right you&#8217;ll see the link &#8216;<a
href="http://developers.facebook.com/docs/reference/plugins/like-box">Promote with a Like Box</a>&#8216;.</p><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/2.png" alt="" /></p><p>The first thing you&#8217;ll need is the ID of your Facebook page. You can find this by checking the URL of most of the links on your page profile.</p><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/3.png" alt="" /></p><p>Enter the size and configure the options of your page, then hit the &#8216;Get Code&#8217; button. Getting the full potential out of a Like Box takes a lot of time and effort. If you&#8217;re looking for a quick solution the iFrame code quickly and easily inserts a box onto your webpage, but don&#8217;t expect to be able to customize it too much. If you have an hour or two to spare, copy the XFBML code.</p><div
class="code"><pre>
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;FB.init(&quot;API-KEY-HERE&quot;);&lt;/script&gt;
&lt;fb:fan profile_id=&quot;PAGE-ID-HERE&quot; connections=&quot;18&quot; width=&quot;403&quot; height=&quot;360&quot;&gt;&lt;/fb:fan&gt;
</pre></div><p>In order to use the FBML code, you&#8217;ll need some fancy Javascript SDK. Luckily for those of us who aren&#8217;t Javascript Wizards, you can find the code already written out from <a
href="http://www.iandavidchapman.com/facebook-fan-box/" title="How to add a Facebook Fan Box to your WordPress blog">tutorials on the web</a>. <em>Note:</em> The code here uses the old <code>&lt;fb:fan&gt;</code> code rather than the new <code>&lt;fb:like-box&gt;</code> code, so remember to change that in your snippet.</p><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/4.png" alt="" /></p><p>To get the Javascript method working you&#8217;ll also need an API key. To get one, head over to <a
href="http://www.facebook.com/developers/apps.php">http://www.facebook.com/developers/apps.php</a> and set up a new application. You can leave most of the details blank, as long as you end up with a key of some sort to insert into the SDK code.</p><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/5.jpg" alt="" /></p><p>Give the page a test. You should see the box load and display correctly, despite being in the boring default Facebook colours. It&#8217;s time to start customizing!</p><h3 class="header">Customizing the Facebook Like Box</h3><div
class="code"><pre>
css="http://line25.com/wp-content/uploads/2010/facebook/demo/style.css?1"
</pre></div><p>Link your CSS stylesheet by adding a new attribute to the <code>&lt;fb:fan&gt;</code> code. The <code>?1</code> at the end is a requirement and needs changing every time you make changes to the your CSS file, otherwise the old styling will be used from Facebook&#8217;s cache. So basically if you make a change and reupload the CSS file, don&#8217;t forget to also change the index file to <code>?2</code> and so on.</p><div
class="code"><pre>
css=&quot;&lt;?php bloginfo('stylesheet_url'); ?&gt;?1
</pre></div><p>If you&#8217;re adding the Facebook Like Box to a WordPress theme, you could use WordPress tags to render out the stylesheet URL.</p><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/6.jpg" alt="" /></p><p>The <a
href="https://addons.mozilla.org/en-US/firefox/addon/1843/">Firebug</a> plugin for Firefox makes it easy to edit and customize your Like Box in the browser. This saves plenty of time not having to change the stylesheet identifier and re-upload all the files. Just configure the styling how you wish, then replicate the CSS in your stylesheet.</p><div
class="code"><pre>
.fan_box .full_widget {
	background: none; border: none;
}
.fan_box .connections_grid .grid_item {
	padding: 0 8px 10px 8px;
}
	.fan_box .connections_grid .grid_item a img {
		box-shadow: 0px 0px 10px #333; -moz-box-shadow: 0px 0px 10px #333; -webkit-box-shadow: 0px 0px 10px #333;
	}
		.fan_box .connections_grid .grid_item a:hover img {
			box-shadow: 0px 3px 10px #333; -moz-box-shadow: 0px 3px 10px #333; -webkit-box-shadow: 0px 3px 10px #333;
		}
.fan_box .full_widget .connect_top {
	background: url(http://line25.com/wp-content/uploads/2010/facebook/demo/images/blue.png);
	border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;
}
.fan_box .connections .connections_grid {
	padding-top:16px;
}
.fan_box .connections {
	border-top: none;
	padding:15px 0 0;
	color: #ccc;
	font: italic 21px Georgia;
	text-align: center;
	text-shadow: 0px 1px 4px #000;
}
	.fan_box .connections span.total {
		color: #fff;
	}

.fan_box .connections_grid .grid_item .name {
	color: #ccc;
	font-size: 11px;
}
.fan_box .profileimage {
	margin: 0;
}
</pre></div><p>Here&#8217;s the CSS I&#8217;ve edited and added to generate the styling used in the demo. Most of the CSS rules clear out the default styling, for example: <code>border: none;</code>, but there&#8217;s also some fancy additions such as the CSS3 <code>text-shadow</code> styling.</p><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/7.jpg" alt="" /></p><p>It&#8217;s up to you how far you go with the customization. You could simply remove or change the background and border colours, or completely rearrange the elements into something completely unique.</p><h3 class="header">Fixing the validation errors</h3><p><img
src="http://line25.com/wp-content/uploads/2010/facebook/8.png" alt="" /></p><p>The Facebook Like Box now looks great, but the FBML code doesn&#8217;t do your webpage validation any favours. Don&#8217;t worry, there&#8217;s a quick and easy fix for that&hellip;</p><div
class="code"><pre>
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script src=&quot;http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;FB.init(&quot;fd161b28d6338cb852d8ed87878f67c3&quot;);&lt;/script&gt;
&lt;!-- FBML &lt;fb:fan profile_id=&quot;119754924730147&quot; connections=&quot;18&quot; width=&quot;403&quot; height=&quot;360&quot; css=&quot;http://line25.com/wp-content/uploads/2010/facebook/demo/style.css?5&quot;&gt;&lt;/fb:fan&gt; FBML --&gt;
&lt;script src=&quot;js/fbvalidate.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre></div><p>Download the handy Javascript file from <a
href="http://www.ka-mediendesign.de/blog/fbml-in-xhtml-neue-version/">ka-mediendesign.de</a>. The author&#8217;s blog is in German, but you can figure out how it&#8217;s implemented pretty easily. Basically you need to reference the Facebook Validation Javascript file underneath the FBML code, then wrap the tags with <code>&lt;!-- FBML</code> comments. The Javascript will then magically fix those validation errors!</p><p><a
href="http://line25.com/wp-content/uploads/2010/facebook/demo/index.html"><img
src="http://line25.com/wp-content/uploads/2010/facebook/7.jpg" alt="View the Facebook Like Box demo" /></a></p><p
class="btn"><a
href="http://line25.com/wp-content/uploads/2010/facebook/demo/index.html">View the Facebook Like Box demo</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=5gydnzBcinM:kP2zi9Uw0mc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=5gydnzBcinM:kP2zi9Uw0mc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=5gydnzBcinM:kP2zi9Uw0mc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=5gydnzBcinM:kP2zi9Uw0mc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=5gydnzBcinM:kP2zi9Uw0mc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=5gydnzBcinM:kP2zi9Uw0mc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=5gydnzBcinM:kP2zi9Uw0mc:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/tutorials/how-to-add-a-custom-facebook-like-box-to-your-site/feed</wfw:commentRss> <slash:comments>52</slash:comments> </item> <item><title>Line25 Sites of the Week for August 13th 2010</title><link>http://line25.com/inspiration/line25-sites-of-the-week-for-august-13th-2010</link> <comments>http://line25.com/inspiration/line25-sites-of-the-week-for-august-13th-2010#comments</comments> <pubDate>Fri, 13 Aug 2010 06:00:05 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Inspiration]]></category> <category><![CDATA[links]]></category> <category><![CDATA[roundup]]></category> <category><![CDATA[sites of the week]]></category> <category><![CDATA[web design]]></category><guid isPermaLink="false">http://line25.com/?p=1319</guid> <description><![CDATA[Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from BundleHunt, BBQWar, Tileables, Armitage Online and Forever Heavy. BundleHunt View the website BBQWar View the website Tileables View the website Armitage Online View [...]]]></description> <content:encoded><![CDATA[<p>Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from BundleHunt, BBQWar, Tileables, Armitage Online and Forever Heavy.</p><p><span
id="more-1319"></span></p><h3><a
href="http://bundlehunt.com/">BundleHunt</a></h3><p><a
href="http://bundlehunt.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/bundle-hunt.jpg" alt="" title="BundleHunt" width="500" height="270" class="alignnone size-full wp-image-1322" /></a></p><p
class="btn"><a
href="http://bundlehunt.com/">View the website</a></p><h3><a
href="http://bbqwar.com/">BBQWar</a></h3><p><a
href="http://bbqwar.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/bbqwar.jpg" alt="" title="BBQWar" width="500" height="270" class="alignnone size-full wp-image-1321" /></a></p><p
class="btn"><a
href="http://bbqwar.com/">View the website</a></p><h3><a
href="http://tileabl.es/">Tileables</a></h3><p><a
href="http://tileabl.es/"><img
src="http://line25.com/wp-content/uploads/2010/08/tileables.jpg" alt="" title="Tileables" width="500" height="270" class="alignnone size-full wp-image-1325" /></a></p><p
class="btn"><a
href="http://tileabl.es/">View the website</a></p><h3><a
href="http://armitageonline.co.uk/">Armitage Online</a></h3><p><a
href="http://armitageonline.co.uk/"><img
src="http://line25.com/wp-content/uploads/2010/08/armitage.jpg" alt="" title="Armitage Online" width="500" height="270" class="alignnone size-full wp-image-1320" /></a></p><p
class="btn"><a
href="http://armitageonline.co.uk/">View the website</a></p><h3><a
href="http://foreverheavy.com/">Forever Heavy</a></h3><p><a
href="http://foreverheavy.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/forever-heavy.jpg" alt="" title="Forever Heavy" width="500" height="270" class="alignnone size-full wp-image-1323" /></a></p><p
class="btn"><a
href="http://foreverheavy.com/">View the website</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=esDoBTD28wg:ZtLS_bllREU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=esDoBTD28wg:ZtLS_bllREU:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=esDoBTD28wg:ZtLS_bllREU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=esDoBTD28wg:ZtLS_bllREU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=esDoBTD28wg:ZtLS_bllREU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=esDoBTD28wg:ZtLS_bllREU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=esDoBTD28wg:ZtLS_bllREU:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/inspiration/line25-sites-of-the-week-for-august-13th-2010/feed</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>Building a Stylish Blog Design Layout in WordPress</title><link>http://line25.com/tutorials/building-a-stylish-blog-design-layout-in-wordpress</link> <comments>http://line25.com/tutorials/building-a-stylish-blog-design-layout-in-wordpress#comments</comments> <pubDate>Mon, 09 Aug 2010 05:00:21 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[coding]]></category> <category><![CDATA[css]]></category> <category><![CDATA[techniques]]></category> <category><![CDATA[theme]]></category> <category><![CDATA[tips]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://line25.com/?p=1318</guid> <description><![CDATA[Over the last couple of weeks we&#8217;ve been through the process of creating a stylish blog design in Photoshop, coding it up into a static HTML and CSS concept, and now we&#8217;ll put the whole thing together as a fully working WordPress theme. Follow this step by step walkthrough of the various WordPress theme files, [...]]]></description> <content:encoded><![CDATA[<p>Over the last couple of weeks we&#8217;ve been through the process of creating a stylish blog design in Photoshop, coding it up into a static HTML and CSS concept, and now we&#8217;ll put the whole thing together as a fully working WordPress theme. Follow this step by step walkthrough of the various WordPress theme files, and see how the HTML is split up and injected with PHP tags to provide the complete blogging functionality.</p><p><span
id="more-1318"></span></p><p><a
href="http://line25.com/tutorials/coding-a-stylish-blog-design-layout-in-html-css"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/Chris-Spooner-Concept-sm.jpg" alt="View the coding tutorial" /></a></p><p>At the end of the <a
href="http://line25.com/tutorials/coding-a-stylish-blog-design-layout-in-html-css">last tutorial</a>, we were left with a working HTML and CSS concept of the blog homepage. Since then, a generic inner page has been styled up, to give the CSS for page elements such as comments, author description etc that appear when viewing a complete blog post.</p><h3 class="header">WordPress theme anatomy</h3><p>A WordPress theme consists of multiple PHP files. Each one of these files is called from the <code>index.php</code>, so your header, footer and sidebar are separate files that are inserted into the index to render a full web page. Furthermore, there&#8217;s different template files that can be used in place of the index depending which portion of the site the user is viewing, these include <code>archive.php</code>, <code>single.php</code>, and <code>page.php</code>. Inside each one of these template files is a series of WordPress PHP tags which add the special functionality and transform the static HTML and CSS code into a working theme. Be sure to keep the <a
href="http://codex.wordpress.org/Template_Tags">WordPress Codex</a> bookmarked for reference when building your themes, it includes a detailed description of every tag and all its parameters.</p><p><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/files.jpg" alt="Collection of WordPress files" /></p><p>The first step when creating any new theme is to create the series of files and copy across any image, Javascript or CSS assets your design uses into a new folder.</p><div
class="code"><pre>
/*
Theme Name: Chris Spooner V3
Theme URI: http://www.chrisspooner.com/
Description: Chris Spooner WordPress Theme Version 3.
Version: 3.0
Author: Chris Spooner
Author URI: http://www.blog.spoongraphics.co.uk
*/
</pre></div><p>At the top of the CSS file, you&#8217;ll need to specify some details about your theme in order for it to be detected by WordPress.</p><div
class="code"><pre>
.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright {
	float: right;
	margin-left: 15px;
}

.alignleft {
	float: left;
	margin-right: 15px;
}
</pre></div><p>While you&#8217;re editing the CSS, you&#8217;ll also want to add some styling for the classes added by the WordPress WYSIWYG editor for aligning text and images to the left, right and center.</p><h3 class="header">Header.php Template File</h3><p><a
href="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/header.png"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/header-sm.png" alt="View fullsize code annotations" /></a></p><p>The <code>header.php</code> includes all the information from the <code>head</code> of your HTML document, as well as the upper portion of your code that remains the same throughout each page (The opening container tag for instance). The HTML right down to before the start of the page content is copied from the static HTML file and pasted into <code>header.php</code>. Then select tags and elements are replaced with PHP tags in order for WordPress to inject the dynamic information. <code>&lt;?php bloginfo('stylesheet_url'); ?&gt;</code> automatically renders a link to <code>/wp-content/themes/*theme-name*/style.css</code>. Where you need to specify the link to the theme directory, you can use <code>&lt;?php bloginfo('template_url'); ?&gt;</code>. Before the closing <code>&lt;/head&gt;</code> tag, the WordPress <code>&lt;?php wp_head(); ?&gt;</code> tag tells any plugin files where to insert their own code.</p><p>Other tags used in the lower portion of the header file include <code>&lt;?php echo get_option('home'); ?&gt;</code> which renders a link to the blog homepage, and <code>&lt;?php wp_list_pages(); ?&gt;</code> which lists out the WordPress generated page into <code>&lt;li&gt;</code> tags (so don&#8217;t forget to wrap it in a <code>&lt;ul&gt;</code>). This pages tag also has some parameters, firstly <code>sort_column=menu_order</code> arranges the pages according to how you specify them as opposed to alphabetically, and <code>title_li=</code> removes the default &#8216;Pages&#8217; heading from the list. It&#8217;s worth noting that this tag could be used elsewhere in the theme, like the sidebar for example. Likewise, you could list out the categories here instead.</p><h3 class="header">Index.php Template File</h3><p><a
href="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/index.png"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/index-sm.png" alt="View fullsize code annotations" /></a></p><p>The index file follows on from the <code>header.php</code>, so the HTML right down to the sidebar from the static file is pasted into the index file. Being the file that is loaded first, the <code>header.php</code> file is called using the <code>&lt;?php get_header(); ?&gt;</code> tag. Inside the HTML content area, the WordPress loop checks for posts then spits out a bunch for code for each post it finds. This is specified between the <code>while</code> and <code>endwhile;</code> PHP tags. Inside this loop we can insert the dynamic post information into the existing HTML elements from our static content, such as <code>&lt;?php the_permalink(); ?&gt;</code> to render the link to the post, <code>&lt;?php the_title(); ?&gt;</code> to render the post title and <code>&lt;?php the_content(''); ?&gt;</code> to render the actual post text.</p><p>After the list of posts, pagination tags are inserted using <code>&lt;?php next_posts_link('Older posts'); ?&gt;</code> and <code>&lt;?php previous_posts_link('Newer posts'); ?&gt;</code>. The text inside the parentheses can be altered to any wording you desire. At the bottom of the index file, the sidebar and footer files are called using <code>&lt;?php get_sidebar(); ?&gt;</code> and <code>&lt;?php get_footer(); ?&gt;</code>, which will insert the content from <code>sidebar.php</code> and <code>footer.php</code> wherever the tags appear in the theme file.</p><h3 class="header">Archive.php &amp; Search.php Template Files</h3><p><a
href="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/archive.png"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/archive-sm.png" alt="View fullsize code annotations" /></a></p><p>The <code>archive.php</code> and <code>search.php</code> template files are basically alternatives to the <code>index.php</code> template file. They do the same job, but are used in different areas of the website. The index file is used on the blog homepage, whereas archive is used when browsing any kind of grouping of posts, whether it&#8217;s by category, month or author. The search file is used when viewing search results. Both files use the same structure and tags as the index file, but include some extra elements to provide feedback to the user. The archive file uses a range of conditional tags to check where the posts are coming from, this then allows you to set a page heading with the relevant information (&#8216;Browsing the Tutorials category&#8217;, or &#8216;Browsing posts from August, 2010&#8242;).</p><p>Similarly, the search template file can include the simple <code>&lt;?php the_search_query(); ?&gt;</code> tag to render a heading such as &#8216;Search results for WordPress&#8217;.</p><h3 class="header">Single.php &amp; Page.php Template Files</h3><p><a
href="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/single.png"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/single-sm.png" alt="View fullsize code annotations" /></a></p><p>While the index, archive and search files display a list of posts, the <code>single.php</code> and <code>page.php</code> template files are used to display the individual posts and pages. They both begin with similar HTML &#8211; The header is still called using <code>&lt;?php get_header(); ?&gt;</code> and the WordPress loop displays the post information and content. The main difference is instead of pagination, you might include additional functionality like <code>&lt;?php related_posts(); ?&gt;</code> (plugin specific tag) to render related posts, or <code>&lt;?php comments_template(); ?&gt;</code> to load the comments section, particularly for single blog posts.</p><h3 class="header">Comments.php Template File</h3><p><a
href="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/comments.png"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/comments-sm.png" alt="View fullsize code annotations" /></a></p><p>The comments template file is called from <code>single.php</code> to insert the comments section at the bottom of your blog post. This file renders out the comments into an <code>&lt;ol&gt;</code> element and is pretty much self-contained in the <code>&lt;?php wp_list_comments(); ?&gt;</code> tag. Elsewhere in the template file, comment pagination is taken care of with the <code>&lt;?php previous_comments_link('Older') ?&gt;</code> and <code>&lt;?php next_comments_link('Newer') ?&gt;</code> tags (if the option is set in the WordPress settings), while the comments form appears underneath, surrounded by a <code>&lt;?php if ( comments_open() ) : ?&gt;</code> statement to check whether comments are open or closed for this particular post.</p><h3 class="header">Sidebar.php &amp; Footer.php Template Files</h3><p><a
href="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/sidebar.png"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/sidebar-sm.png" alt="View fullsize code annotations" /></a></p><p>Like the <code>header.php</code> file, the sidebar and footer are called from the other template files to insert the relevant HTML in the correct places to form a complete web page. My <code>sidebar.php</code> file only contains a modified version of the <code>wp_list_categories();</code> WordPress tag, but any cocktail of information could be rendered here.<br
/> The <code>footer.php</code> file closes out HTML elements that have been opened elsewhere in the theme files, particularly the container div and page body. My footer design also includes a range of extra information, most of this information is generated by Javascript, or is controlled outside of the WordPress functionality, but the footer does still include the WordPress <code>&lt;?php wp_footer(); ?&gt;</code> tag to allow any plugins or WordPress itself to inject code into the right place in the theme (A Google Analytics plugin would likely insert the tracking code using <code>wp-footer();</code>).</p><h3 class="header">404.php, Functions.php &amp; Everything Else</h3><p><a
href="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/functions.png"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/functions-sm.png" alt="View fullsize code annotations" /></a></p><p>We&#8217;ve covered the main types of WordPress theme files, but it doesn&#8217;t have to stop there. Two other popular files include <code>404.php</code>, which allows you to design a custom error page for your blog, and <code>functions.php</code>, which allows you to customize the inner workings of WordPress without altering the core WordPress code, not to mention the complete list of <a
href="http://codex.wordpress.org/Theme_Development#Template_Files">WordPress template files</a>, many of which I&#8217;ve personally never used before. There&#8217;s also the option of <a
href="http://codex.wordpress.org/Pages#Page_Templates">custom page templates</a> to take advantage of, these files allow you to set up a unique layout for a certain type of WordPress page &#8211; This is particularly handy for creating an archives list, or a portfolio page layout.</p><h3 class="header">The Final WordPress Theme</h3><p>When all the HTML is split across the various theme files and the WordPress template tags inserted into the right places, the theme is now ready to install and test. All the post information from the WordPress install should be injected into the theme and rendered out as HTML, taking all the styling clues from your CSS file.</p><p><a
href="http://www.chrisspooner.com"><img
src="http://line25.com/wp-content/uploads/2010/cs-wordpress-theme/chrisspooner-website.jpg" alt="View the theme in action at ChrisSpooner.com" /></a></p><p
class="btn"><a
href="http://www.chrisspooner.com">View the final theme in action</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=E-QJZ-1eCmg:6brEZf3Zm6g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=E-QJZ-1eCmg:6brEZf3Zm6g:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=E-QJZ-1eCmg:6brEZf3Zm6g:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=E-QJZ-1eCmg:6brEZf3Zm6g:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=E-QJZ-1eCmg:6brEZf3Zm6g:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=E-QJZ-1eCmg:6brEZf3Zm6g:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=E-QJZ-1eCmg:6brEZf3Zm6g:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/tutorials/building-a-stylish-blog-design-layout-in-wordpress/feed</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>Line25 Sites of the Week for August 6th 2010</title><link>http://line25.com/inspiration/line25-sites-of-the-week-for-august-6th-2010</link> <comments>http://line25.com/inspiration/line25-sites-of-the-week-for-august-6th-2010#comments</comments> <pubDate>Fri, 06 Aug 2010 05:00:47 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Inspiration]]></category> <category><![CDATA[links]]></category> <category><![CDATA[roundup]]></category> <category><![CDATA[sites of the week]]></category> <category><![CDATA[web design]]></category><guid isPermaLink="false">http://line25.com/?p=1311</guid> <description><![CDATA[Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Foundation Six, Min Tran, Bug Butterfly Count, 4MulaDesign and Adham Dannaway. Foundation Six View the website Min Tran View the website Big Butterfly [...]]]></description> <content:encoded><![CDATA[<p>Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Foundation Six, Min Tran, Bug Butterfly Count, 4MulaDesign and Adham Dannaway.</p><p><span
id="more-1311"></span></p><h3><a
href="http://www.foundationsix.com/">Foundation Six</a></h3><p><a
href="http://www.foundationsix.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/foundation-six.jpg" alt="" title="Foundation Six" width="500" height="270" class="alignnone size-full wp-image-1315" /></a></p><p
class="btn"><a
href="http://www.foundationsix.com/">View the website</a></p><h3><a
href="http://www.mintran.com/">Min Tran</a></h3><p><a
href="http://www.mintran.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/min-tran.jpg" alt="" title="Min Tran" width="500" height="270" class="alignnone size-full wp-image-1317" /></a></p><p
class="btn"><a
href="http://www.mintran.com/">View the website</a></p><h3><a
href="http://bigbutterflycount.org/">Big Butterfly Count</a></h3><p><a
href="http://bigbutterflycount.org/"><img
src="http://line25.com/wp-content/uploads/2010/08/big-butterfly-count.jpg" alt="" title="Big Butterfly Count" width="500" height="270" class="alignnone size-full wp-image-1313" /></a></p><p
class="btn"><a
href="http://bigbutterflycount.org/">View the website</a></p><h3><a
href="http://lab.4muladesign.com/dribbble/">HTML5 Dribbble Infographic</a></h3><p><a
href="http://lab.4muladesign.com/dribbble/"><img
src="http://line25.com/wp-content/uploads/2010/08/dribbble-html5.jpg" alt="" title="Dribbble Html5 Infographic" width="500" height="270" class="alignnone size-full wp-image-1314" /></a></p><p
class="btn"><a
href="http://lab.4muladesign.com/dribbble/">View the website</a></p><h3><a
href="http://www.adhamdannaway.com/">Adham Dannaway</a></h3><p><a
href="http://www.adhamdannaway.com/"><img
src="http://line25.com/wp-content/uploads/2010/08/adham-dannaway.jpg" alt="" title="Adham Dannaway" width="500" height="270" class="alignnone size-full wp-image-1312" /></a></p><p
class="btn"><a
href="http://www.adhamdannaway.com/">View the website</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=rK-PUc5y7_w:mBmQtyYelzg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=rK-PUc5y7_w:mBmQtyYelzg:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=rK-PUc5y7_w:mBmQtyYelzg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=rK-PUc5y7_w:mBmQtyYelzg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=rK-PUc5y7_w:mBmQtyYelzg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=rK-PUc5y7_w:mBmQtyYelzg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=rK-PUc5y7_w:mBmQtyYelzg:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/inspiration/line25-sites-of-the-week-for-august-6th-2010/feed</wfw:commentRss> <slash:comments>28</slash:comments> </item> <item><title>Coding a Stylish Blog Design Layout in HTML &amp; CSS</title><link>http://line25.com/tutorials/coding-a-stylish-blog-design-layout-in-html-css</link> <comments>http://line25.com/tutorials/coding-a-stylish-blog-design-layout-in-html-css#comments</comments> <pubDate>Mon, 02 Aug 2010 05:00:25 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[blog]]></category> <category><![CDATA[coding]]></category> <category><![CDATA[css]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[design]]></category> <category><![CDATA[html]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[interface]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[psd to html]]></category> <category><![CDATA[techniques]]></category> <category><![CDATA[tips]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[xhtml]]></category><guid isPermaLink="false">http://line25.com/?p=1310</guid> <description><![CDATA[Last week we went through the process of designing a stylish blog layout in Photoshop. Now let&#8217;s take our visual concept and cut it into slices for use with neat HTML and CSS code. All our browser testing will be done on this coded concept before converting the design into a full WordPress theme. At [...]]]></description> <content:encoded><![CDATA[<p>Last week we went through the process of designing a stylish blog layout in Photoshop. Now let&#8217;s take our visual concept and cut it into slices for use with neat HTML and CSS code. All our browser testing will be done on this coded concept before converting the design into a full WordPress theme.</p><p><span
id="more-1310"></span></p><p>At the end of the last post, the design concept had been put together in Photoshop and was all ready to rock. To refresh your memory, here&#8217;s the design we&#8217;ll be working on.</p><p><a
href="http://line25.com/tutorials/creating-a-stylish-blog-design-layout-in-photoshop"><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/Chris-Spooner-Concept-sm.jpg" alt="View the Photoshop tutorial" /></a></p><p
class="btn"><a
href="http://line25.com/tutorials/creating-a-stylish-blog-design-layout-in-photoshop">View the Photoshop tutorial</a></p><h3 class="header">Exporting the images</h3><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/1.png" alt="" /></p><p>The first step is to go through the whole design and export tiny images. Being a design that makes use of textures and patterns, many of the graphics are clipped down to repeating tiles.</p><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/2.png" alt="" /></p><p>In final collection of files the majority of images are saved with the PNG format due to their minimal colour palette. This bunch of small files will also help drastically with page load times.</p><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/3.png" alt="" /></p><p>Some images, like the diagonal lines swatch are just 4px in size, making them super small images, but they cover a large portion of the actual design.</p><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/4.png" alt="" /></p><p>Where there&#8217;s lots of instances of a similar graphic, they are combined into a sprite image. Each individual graphic will be picked out using CSS background positioning.</p><h3 class="header">Writing the HTML markup</h3><div
class="code"><pre>
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset=&quot;utf-8&quot; /&gt;
&lt;title&gt;ChrisSpooner.com&lt;/title&gt;

&lt;link href=&quot;style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;

&lt;body&gt;

&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre></div><p>The HTML document is started with a Doctype. Here the new HTML5 Doctype is used simply because it&#8217;s cool and does the job in 15 characters. Not all the HTML5 markup tags are supported, but HTML in an XHTML fashion will still validate perfectly fine. Elsewhere the CSS stylesheet is loaded, then the markup begins with a container div to house the following elements.</p><div
class="code"><pre>
&lt;div id=&quot;header&quot;&gt;
	&lt;h1&gt;&lt;a href=&quot;#&quot;&gt;Chris Spooner&lt;/a&gt;&lt;/h1&gt;
	&lt;ul id=&quot;nav&quot;&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Archives&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Say hello&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;ul id=&quot;subscribe&quot;&gt;
		&lt;li class=&quot;twitter&quot;&gt;&lt;a href=&quot;#&quot;&gt;Follow on Twitter&lt;/a&gt;&lt;/li&gt;
		&lt;li class=&quot;rss&quot;&gt;&lt;a href=&quot;http:#&quot;&gt;Subscribe by RSS&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;

	&lt;h2&gt;The personal blog of Chris Spooner&lt;/h2&gt;

&lt;/div&gt;
</pre></div><p>First up in the markup is the header area, which is neatly contained within a <code>&lt;div&gt;</code> named &#8220;header&#8221;. Within this is a <code>&lt;h1&gt;</code> element to act as the logo, and <code>&lt;ul&gt;</code> elements to produce the two menus. In the concept the items appear in the following order: Nav &#8211; Title &#8211; Subscribe, which is fine in visual terms, but doesn&#8217;t read correctly as a document so it&#8217;s ordered as Title &#8211; Nav &#8211; Subscribe in the HTML. The elements can be rearranged with CSS positioning later.</p><div
class="code"><pre>
&lt;div id=&quot;content&quot;&gt;
	&lt;div id=&quot;main&quot;&gt;
		&lt;div class=&quot;post&quot;&gt;
			&lt;h2&gt;&lt;a href=&quot;#&quot;&gt;Jake Plays With His New Dog Friends At The Park&lt;/a&gt;&lt;/h2&gt;
			&lt;p class=&quot;date&quot;&gt;18 &lt;span&gt;Jul&lt;/span&gt;&lt;/p&gt;
			&lt;ul class=&quot;meta&quot;&gt;
				&lt;li&gt;Posted in &lt;a href=&quot;#&quot;&gt;Vlog&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;comments&quot;&gt;&lt;a href=&quot;#&quot;&gt;5 Comments&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
			&lt;div class=&quot;post-content&quot;&gt;  

			&lt;/div&gt;
		&lt;/div&gt;

		[...]

		&lt;div class=&quot;pagination&quot;&gt;
			&lt;p class=&quot;prev&quot;&gt;&lt;a href=&quot;#&quot;&gt;Older posts&lt;/a&gt;&lt;/p&gt;
			&lt;p class=&quot;next&quot;&gt;&lt;a href=&quot;#&quot;&gt;Newer posts&lt;/a&gt;&lt;/p&gt;
		&lt;/div&gt;

	&lt;/div&gt;
</pre></div><p>A <code>div</code> with an ID of &#8220;content&#8221; contains the divs &#8220;main&#8221; and &#8220;side&#8221; which will act as the main content and sidebar columns. Inside the main content, each post is enclosed within a &#8220;post&#8221; div. Every post is made up of title, date stamp, meta information and of course the post content.</p><div
class="code"><pre>
		&lt;div id=&quot;side&quot;&gt;
			&lt;div id=&quot;categories&quot;&gt;
				&lt;h3&gt;Categories&lt;/h3&gt;
				&lt;ul&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Apple&lt;/a&gt; 4&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Design&lt;/a&gt; 3&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Events&lt;/a&gt; 2&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Giveaways&lt;/a&gt; 5&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Vlog&lt;/a&gt; 48&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Website News&lt;/a&gt; 2&lt;/li&gt;
				&lt;/ul&gt;
			&lt;/div&gt;

			&lt;div id=&quot;my-sites&quot;&gt;
				&lt;h3&gt;My Sites&lt;/h3&gt;
				&lt;dl&gt;
					&lt;dt class=&quot;bsg&quot;&gt;&lt;a href=&quot;#&quot;&gt;Blog.SpoonGraphics&lt;/a&gt;&lt;/dt&gt;
					&lt;dd&gt;My digital playground where I post various design tutorials.&lt;/dd&gt;

					&lt;dt class=&quot;l25&quot;&gt;&lt;a href=&quot;#&quot;&gt;Line25&lt;/a&gt;&lt;/dt&gt;
					&lt;dd&gt;My second blog featuring various web design tutorials, articles and inspiration.&lt;/dd&gt;

					&lt;dt class=&quot;jakethelab&quot;&gt;&lt;a href=&quot;#&quot;&gt;JakeTheLab&lt;/a&gt;&lt;/dt&gt;
					&lt;dd&gt;My dog&#8217;s very own website. See insights into the life of Jake the Labrador Retriever.&lt;/dd&gt;

					&lt;dt class=&quot;spoongraphics&quot;&gt;&lt;a href=&quot;#&quot;&gt;SpoonGraphics&lt;/a&gt;&lt;/dt&gt;
					&lt;dd&gt;Home to my creative Graphic and Web design services and design portfolio.&lt;/dd&gt;
				&lt;/dl&gt;
			&lt;/div&gt;

		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre></div><p>The sidebar is made up of a category list titled with a <code>&lt;h3&gt;</code> and created using a <code>&lt;ul&gt;</code> element. Underneath this is the &#8220;My Sites&#8221; list, which will be hard coded into the site as a Definition List. The relationship between the site title and description make it perfectly suited as a <code>&lt;dl&gt;</code>.</p><div
class="code"><pre>
&lt;div id=&quot;footer-container&quot;&gt;
	&lt;div id=&quot;footer&quot;&gt;
		&lt;div id=&quot;tweet&quot;&gt;
			&lt;p id=&quot;follow&quot;&gt;&lt;a href=&quot;#&quot;&gt;Follow me&lt;/a&gt;&lt;/p&gt;
		&lt;/div&gt;

		&lt;div id=&quot;latest-posts&quot;&gt;
			&lt;h4&gt;Latest blog posts&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Design a Beautiful Cosmic Space Scene in Photoshop&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Line25 Sites of the Week for July 16th 2010&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Style Your Site According to the Weather with jQuery&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;This Week&#8217;s Favourites &#8211; July 9th 2010&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Design a Beautiful Cosmic Space Scene in Photoshop&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Line25 Sites of the Week for July 16th 2010&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Style Your Site According to the Weather with jQuery&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;#&quot;&gt;This Week&#8217;s Favourites &#8211; July 9th 2010&lt;/a&gt;&lt;/li&gt;

				&lt;li class=&quot;subscribe&quot;&gt;&lt;a href=&quot;#&quot;&gt;Subscribe to Blog.SpoonGraphics&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;subscribe&quot;&gt;&lt;a href=&quot;#&quot;&gt;Subscribe to Line25&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/div&gt;

		&lt;div id=&quot;music&quot;&gt;
			&lt;h4&gt;I'm listening to&lt;/h4&gt;
			&lt;div id=&quot;lastfmrecords&quot;&gt;&lt;/div&gt;
		&lt;/div&gt;

		&lt;div id=&quot;socialize&quot;&gt;
			&lt;h4&gt;Socialize&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li class=&quot;twitter&quot;&gt;&lt;a href=&quot;#&quot;&gt;Twitter&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;facebook&quot;&gt;&lt;a href=&quot;#&quot;&gt;Facebook&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;youtube&quot;&gt;&lt;a href=&quot;#&quot;&gt;YouTube&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;dribbble&quot;&gt;&lt;a href=&quot;#&quot;&gt;Dribbble&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;behance&quot;&gt;&lt;a href=&quot;#&quot;&gt;Behance&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;tumblr&quot;&gt;&lt;a href=&quot;#&quot;&gt;Tumblr&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;flickr&quot;&gt;&lt;a href=&quot;#&quot;&gt;Flickr&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;lastfm&quot;&gt;&lt;a href=&quot;#&quot;&gt;Last.FM&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;stumbleupon&quot;&gt;&lt;a href=&quot;#&quot;&gt;StumbleUpon&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;digg&quot;&gt;&lt;a href=&quot;#&quot;&gt;Digg&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;designbump&quot;&gt;&lt;a href=&quot;#&quot;&gt;DesignBump&lt;/a&gt;&lt;/li&gt;
				&lt;li class=&quot;vimeo&quot;&gt;&lt;a href=&quot;#&quot;&gt;Vimeo&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/div&gt;

		&lt;div id=&quot;photos&quot;&gt;
			&lt;h4&gt;Latest designs &amp;amp; artworks&lt;/h4&gt;
			&lt;div id=&quot;flickrimages&quot;&gt;&lt;/div&gt;
		&lt;/div&gt;

		&lt;p id=&quot;back-top&quot;&gt;&lt;a href=&quot;#&quot;&gt;Back to top&lt;/a&gt;&lt;/p&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre></div><p>The markup is finished off with the footer. Because the design uses a contrasting footer colour, an extra container is used to surround the footer elements, then the actual footer <code>div</code> is centred up inside the container. Each section of the footer is laid out inside its own <code>div</code> to group the elements together and make it easier to lay out the design later. Some sections like the Last.FM and Flickr streams are created using Javascript plugins, which require empty divs in which the content is placed. If the site needed to be super accessible, HTML messages for non-Javascript users would be placed inside these elements, then hidden by Javascript so they don&#8217;t appear for Javascript-enabled users.</p><p><a
href="http://line25.com/wp-content/uploads/2010/blog-design-coded/html.png"><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/html-sm.png" alt="See the full annotated HTML" /></a></p><p
class="btn"><a
href="http://line25.com/wp-content/uploads/2010/blog-design-coded/html.png">See the full annotated HTML</a></p><h3 class="header">Styling with CSS</h3><div
class="code"><pre>
body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, fieldset, blockquote {
	margin: 0; padding: 0; border: 0;
}

body {
	background: #f6f5ee url(images/bg.png);
	font: 14px/22px Helvetica, Sans-Serif;
}

@font-face {
	font-family:'Tallys';
	src: url('images/Tallys.otf') format('opentype');
}

#container {
	background: url(images/top-bar.png) top repeat-x;
	background: url(images/top-bar.png) top repeat-x, url(images/footer-top.png) bottom repeat-x;
	padding: 0 0 31px 0;
}
</pre></div><p>The CSS document begins with a quick reset to remove any browser default styling, then gets to business setting the background colour and texture on the <code>body</code>, as well as setting a global font style. Underneath this, the CSS3 <a
href="http://line25.com/tutorials/spice-up-your-web-typography-with-font-face">@font-face</a> rule is set up to load the font <a
href="http://www.josbuivenga.demon.nl/tallys.html">Tallys</a>, which is used on certain headers within the design.<br
/> The <code>#container</code> is given the repeating graphic that generates the top bar, as well as a second background for browsers supporting CSS3 multiple backgrounds. Those supporting browsers will also see the strip of diagonal lines that appear just above the footer, but being just a visual touch it won&#8217;t be missed by the more unfortunate viewers on older browsers.</p><div
class="code"><pre>
#header {
	width: 961px; margin: 0 auto; position: relative;
	overflow: hidden;
}
	#header h1 a {
		position: absolute; top: 5px; left: 376px;display: block; width: 208px; height: 213px;
		background: url(images/logo.png); text-indent: -9999px;
	}
		#header h1 a:hover {
			background-position: bottom;
		}

	#header ul#nav {
		float: left; margin: 22px 0 0 24px; list-style: none;
	}
		#header ul#nav li {
			float: left; margin: 0 0 0 45px;
		}
			#header ul#nav li:first-child {
				margin: 0;
			}
				#header ul#nav li a {
					display: block; font: 13px Georgia, Serif; letter-spacing: 2px; color: #eeede6;
					text-decoration: none;
				}
					#header ul#nav li a:hover {
						color: #d0cfc8;
					}

	#header ul#subscribe {
		float: right; margin: 22px 24px 0 0; list-style: none;
	}
		#header ul#subscribe li {
			float: left; margin: 0 0 0 32px;
		}
			#header ul#subscribe li a {
				display: block; height: 16px; font: 13px Georgia, Serif; letter-spacing: 2px; color: #eeede6;
				text-decoration: none; padding: 1px 0 0 27px;
				background: url(images/icons.png) left 1px no-repeat;
			}
				#header ul#subscribe li.rss a {
					background-position: left -16px;
				}
					#header ul#subscribe li a:hover {
						color: #d0cfc8;
					}

	#header h2 {
		margin: 250px 0 0 0; min-width: 500px; clear: both; text-align: center;
		background: url(images/top-divider.png) center bottom no-repeat; padding: 0 0 30px 0;
		font: 24px Tallys, Georgia, Serif; letter-spacing: 4px; color: #afada2;
		text-shadow: 0px 1px 0px #fff;
	}
</pre></div><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/5.png" alt="" /></p><p>The <code>#header</code> is then centred up on the page and is given <code>position:relative</code> to allow for absolute positioning of the logo inside the confines of the header div. The logo itself is generated from the <code>h1</code> using a specific width and height for the logo background image. The logo graphic contains both the normal and hover variations of the logo, so the position of the sprite is changed on <code>:hover</code>.<br
/> The two navigation elements are floated to the left and right sides of the logo, then the default list styling is removed and each <code>li</code> floated to display horizontally. Text styling is set up as 13px Georgia with <code>letter-spacing</code> giving the type a cool visual touch. On the anchors inside the <code>ul#subscribe</code>, icons are added as background images to produce the RSS and Twitter graphics.<br
/> The tagline on the design concept sits centrally underneath the logo, so a mixture of <code>margin</code>, <code>text-align</code> and <code>clear:both</code> help move the <code>h2</code> into place. The font styling on the concept uses the custom Tallys font, so this is added using the <code>@font-face</code> rule recently setup. The inset effect is created using more CSS3 magic, this time in the form of a simple 1px white <code>text-shadow</code>.</p><div
class="code"><pre>
#content {
	width: 917px; margin: -240px auto 0 auto; padding: 280px 22px 0 22px;
	background: url(images/container-lines.png) repeat-y;
}	

	#content #main {
		width: 684px; float: left;
	}
		#content #main .post {
			position: relative; margin: 0 0 60px 0; padding: 0 0 66px 0; overflow: hidden;
			background: url(images/underline.png) bottom repeat-x;
		}
			#content #main .post h2 {
				float: left; margin: 0 0 10px 75px;
				font: 24px Lucida Grande, Lucida Sans Unicode, Helvetica, Sans-Serif; letter-spacing: normal;
			}
			#content #main .post p.date {
				position: absolute; left: 0; top: 0; padding: 4px 7px 4px 7px;
				background: url(images/lines.png);
				font: bold 40px Helvetica, Sans-Serif; color: #b6b6b1; text-align: center;
			}
				#content #main .post p.date span {
					font: normal 20px Helvetica, Sans-Serif;
					display: block; margin: -5px 0 0 0;
				}
			#content #main .post ul.meta {
				float: left; list-style: none; margin: 0 0 30px 75px; overflow: hidden;
				font: 16px Helvetica, Sans-Serif; color: #b6b6b1;
			}
				#content #main .post ul.meta li {
					float: left; margin: 0 20px 0 0;
				}
					#content #main .post ul.meta li.comments {
						padding: 0 0 0 32px; background: url(images/star.png) left center no-repeat;
					}
			#content #main .post .post-content {
				clear: both;
			}	

			#content #main .pagination {
				margin: 0 0 60px 0; overflow: hidden;
			}
				#content #main .pagination p {
					margin: 0;
				}

			#content #main .pagination p a {
				display: block; width: 102px; height: 33px; overflow: hidden;
				background: url(images/pagination-bg.png); font-size: 16px;
			}
				#content #main .pagination p.prev a {
					float: left; padding: 14px 0 0 46px;
				}
				#content #main .pagination p.next a {
					float: right; text-align: right; padding: 14px 46px 0 0;
					background-position: 0 -47px;
				}
</pre></div><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/6.png" alt="" /></p><p>The <code>#content</code> div is moved into place using <code>margin: -240px auto 0 auto</code>. The -240px margin on the top helps pull the content back up where it had previously been dropped down by the logo graphic. Each <code>.post</code> div is given <code>margin</code> and <code>padding</code> to space out each blog entry, and a background image provides a neat underline between each one. All the elements inside the post are then styled up with the appropriate font styling to match the concept. The date stamp <code>p.date</code> is given a large <code>font-size</code> to accommodate the date numbers, then the <code>span</code> is reset with a smaller font size and given the <code>display:block;</code> rule to drop it down underneath.<br
/> After all the post content styling the <code>.pagination</code> buttons are transformed from plain paragraph elements into large button graphics. They&#8217;re first floated left and right, they&#8217;re given specific widths and heights according to the actual image file. <code>padding</code> is added to the anchor to position it centrally inside the button.</p><div
class="code"><pre>
	#content #side {
		width: 196px; float: left; margin: 0 0 0 37px;
	}

		#content #side h3 {
			font: 22px Tallys, Georgia, Serif; letter-spacing: 4px; color: #afada2; text-align: center; text-shadow: 0px 1px 0px #fff;
			background: url(images/underline.png) bottom repeat-x; padding: 0 0 15px 0; margin: 0 0 20px 0;
		}

		#content #side #categories {
			margin: 0 0 66px 0;
		}
			#content #side #categories ul {
				list-style: none;
			}
				#content #side #categories ul li {
					position: relative; width: 156px; height: 29px; padding: 11px 20px 0 20px; margin: 0 0 10px 0;
					background: url(images/category-bg.png); font-size: 16px; text-align: right;
					color: #afada2; text-shadow: 0px 1px 0px #fff;
				}
				#content #side #categories ul li a {
					float: left; background: url(images/category-fill.png); padding: 0 10px 0 0;
				}

		#content #side #my-sites {
			margin: 0 0 66px 0;
		}
			#content #side #my-sites dl dt {
				font-size: 16px; padding: 0 0 0 26px;
				background: url(images/favicons.png) no-repeat;
			}
				#content #side #my-sites dl dt.bsg {
					background-position: 0 1px;
				}
				#content #side #my-sites dl dt.l25 {
					background-position: 0 -24px;
				}
				#content #side #my-sites dl dt.jakethelab {
					background-position: 0 -51px;
				}
				#content #side #my-sites dl dt.spoongraphics {
					background-position: 0 -76px;
				}

				#content #side #my-sites dl dd {
					font-size: 14px; color: #bcbbb5; margin: 0 0 10px 0;
				}
</pre></div><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/10.png" alt="" /></p><p>The sidebar is floated alongside the main content div and given a spot of left margin to space out the columns. All the <code>h3</code> elements in the sidebar use the Tally font styling with inset text effect. An underline background image provides a divider between the titles and content. The <code>#categories ul li</code> elements are given similar styling to the pagination buttons, where a specific width and height is used to display a background graphic. To recreate the line between the category and post count, a line was added to the background image, then a plain textured fill added to the anchors to hide the line where it runs underneath the text.<br
/> The styling for the definition list is quite simple, other than some CSS to set the font styling, just the favicon images had to be set with different background positioning on each <code>dt</code> element.</p><div
class="code"><pre>
#footer-container {
	background: #2f2f28 url(images/footer-bg.png);
}	

#footer {
	width: 917px; margin: 0 auto; padding: 20px 22px 66px 22px; overflow: hidden;

}
	#footer a {
		color: #eeede6; text-decoration: none;
	}
		#footer a:hover {
			color: #d0cfc8;
		}
	#footer h4 {
		font: 22px Tallys, Georgia, Serif; letter-spacing: 4px; color: #afada2; margin: 0 0 14px 0;
	}

	#footer #tweet {
		width: 897px; height: 39px; margin: 0 auto 38px auto; padding: 19px 10px 0 10px;
		background: url(images/twitter-bg.png) repeat-x;
	}
		#footer #tweet p#message {
			float: left; color: #afada2; padding: 0 0 0 25px; font-size: 12px;
			background: url(images/twitter-bubble.png) left 2px no-repeat;
		}
		#footer #tweet p#follow a {
			float: right; display: block; width: 85px; height: 27px; margin: -3px 0 0 20px;
			background: url(images/twitter-btn.png); text-indent: -9999px;
		}
			#footer #tweet p#follow a:hover {
				background-position: bottom;
			}

	#footer #latest-posts {
		width: 430px; float: left;
	}
		#footer #latest-posts ul {
			list-style: none;
		}
			#footer #latest-posts ul li {
				font-size: 16px; margin: 0 0 27px 0;
			}

			#footer #latest-posts ul li.subscribe {
				margin: 0 0 10px 0;
			}
				#footer #latest-posts ul li.subscribe a {
					display: block; height: 17px;
					font: 13px Georgia, Serif; letter-spacing: 2px; color: #eeede6;
					padding: 0 0 0 27px; background: url(images/icons.png) left -16px no-repeat;
				}
					#footer #latest-posts ul li.subscribe a:hover {
						color: #d0cfc8;
					}
</pre></div><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/8.png" alt="" /></p><p>The design ends with a large footer which contains all kinds of information. Being of full width and having the dark background fill it required both the <code>#footer-container</code>, and the child <code>#footer</code> divs to allow the concept to be replicated. Slightly different font styling was needed inside the footer, particularly link colours, so the <code>#footer a</code> and <code>#footer h4</code> were altered from those used in the upper portion of the design. At the top of the footer is a latest tweet box. This is styled up as a <code>div</code> named <code>#tweet</code>, while the tweet message and follow button are restyled paragraph elements.<br
/> In the <code>#latest-posts ul</code> the list is spaced out with some bottom margin and set at a font-size of 16px. The two <code>li</code> items with the class of <code>.subscribe</code> are given slightly different styling using a serif font and an RSS icon as a background image.</p><p><a
href="http://line25.com/wp-content/uploads/2010/blog-design-coded/css.png"><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/css-sm.png" alt="See the full annotated CSS" /></a></p><p
class="btn"><a
href="http://line25.com/wp-content/uploads/2010/blog-design-coded/css.png">See the full annotated CSS</a></p><h3 class="header">Adding Javascript functionality</h3><p>With the main website now all coded up, all that&#8217;s left is to populate those footer sections with content from the various social sites. The Twitter div should display my latest tweet, the music div should display a list of my popular music tracks from Last.FM and the photos div should display recent pictures from Flickr.</p><div
class="code"><pre>
$.getJSON(&quot;http://twitter.com/statuses/user_timeline.json?screen_name=chrisspooner&amp;count=1&amp;callback=?&quot;,
		function(data){
			$.each(data, function(i,item){
			ct = item.text;
			ct = ct.replace(/http:\/\/\S+/g,  '&lt;a href=&quot;$&amp;&quot;&gt;$&amp;&lt;/a&gt;');
			ct = ct.replace(/\s(@)(\w+)/g,    ' @&lt;a href=&quot;http://twitter.com/$2&quot;&gt;$2&lt;/a&gt;');
	 		ct = ct.replace(/\s(#)(\w+)/g,    ' #&lt;a href=&quot;http://search.twitter.com/search?q=%23$2&quot;&gt;$2&lt;/a&gt;');
	   		$(&quot;#tweet&quot;).append('&lt;p id=&quot;message&quot;&gt;'+ct +'&lt;/p');
	  	});
	 });

    jQuery(document).ready( function() {
       var _config = {
         username: 'spoongraphics',
         count: 6,
         period: '7day'
     };
    lastFmRecords.init(_config);
    });

	$('#flickrimages').flickrush({id:'10201900@N03' });
</pre></div><p><img
src="http://line25.com/wp-content/uploads/2010/blog-design-coded/9.png" alt="" /></p><p>Three jQuery resources were used to create the functionality. Firstly, the Twitter message is called using JSON as described in this handy tutorial from <a
href="http://blog.ninanet.com/2010/04/14/twitter-feed-with-jquery">Ninanet</a>. The Last.FM top tracks list is generated using this fantastic plugin from <a
href="http://jeroensmeets.net/wordpress/lastfmrecords/">Jeroen Smeets</a>, which can either be used as a WordPress plugin, or directly through jQuery. Finally, the Flickr stream is producing using a slightly modified version of the Flickrush plugin from <a
href="http://theodin.co.uk/blog/development/flickrush-jquery-flickr-plugin.html">Philip Beel</a>.</p><p
class="btn"><a
href="http://line25.com/wp-content/uploads/2010/blog-design-coded/demo/index.html">View the coded site demo</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=vxvuaizF5YU:XDHhVtsvuOc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=vxvuaizF5YU:XDHhVtsvuOc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=vxvuaizF5YU:XDHhVtsvuOc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=vxvuaizF5YU:XDHhVtsvuOc:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=vxvuaizF5YU:XDHhVtsvuOc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=vxvuaizF5YU:XDHhVtsvuOc:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=vxvuaizF5YU:XDHhVtsvuOc:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/tutorials/coding-a-stylish-blog-design-layout-in-html-css/feed</wfw:commentRss> <slash:comments>43</slash:comments> </item> <item><title>Line25 Sites of the Week for July 30th 2010</title><link>http://line25.com/inspiration/line25-sites-of-the-week-for-july-30th-2010</link> <comments>http://line25.com/inspiration/line25-sites-of-the-week-for-july-30th-2010#comments</comments> <pubDate>Fri, 30 Jul 2010 06:00:58 +0000</pubDate> <dc:creator>Chris Spooner</dc:creator> <category><![CDATA[Inspiration]]></category> <category><![CDATA[links]]></category> <category><![CDATA[roundup]]></category> <category><![CDATA[sites of the week]]></category> <category><![CDATA[web design]]></category><guid isPermaLink="false">http://line25.com/?p=1303</guid> <description><![CDATA[Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Made By Water, New Adventures in Web Design, Wez Maynard, Digitallabs and Billy Tamplin. Made By Water View the website New Adventures in [...]]]></description> <content:encoded><![CDATA[<p>Line25 Sites of the Week is a weekly roundup of the most outstanding website designs that I stumble across during my every day browsing. In this week’s collection, we have designs from Made By Water, New Adventures in Web Design, Wez Maynard, Digitallabs and Billy Tamplin.</p><p><span
id="more-1303"></span></p><h3><a
href="http://www.madebywater.com/">Made By Water</a></h3><p><a
href="http://www.madebywater.com/"><img
src="http://line25.com/wp-content/uploads/2010/07/made-by-water.jpg" alt="" title="Made By Water" width="500" height="270" class="alignnone size-full wp-image-1307" /></a></p><p
class="btn"><a
href="http://www.madebywater.com/">View the website</a></p><h3><a
href="http://newadventuresconf.com/">New Adventures in Web Design</a></h3><p><a
href="http://newadventuresconf.com/"><img
src="http://line25.com/wp-content/uploads/2010/07/new-adventures.jpg" alt="" title="New Adventures" width="500" height="270" class="alignnone size-full wp-image-1308" /></a></p><p
class="btn"><a
href="http://newadventuresconf.com/">View the website</a></p><h3><a
href="http://www.wezmaynard.com/">Wez Maynard</a></h3><p><a
href="http://www.wezmaynard.com/"><img
src="http://line25.com/wp-content/uploads/2010/07/wez-maynard.jpg" alt="" title="Wez Maynard" width="500" height="270" class="alignnone size-full wp-image-1309" /></a></p><p
class="btn"><a
href="http://www.wezmaynard.com/">View the website</a></p><h3><a
href="http://www.sofasurfer.eu/">Digitallabs</a></h3><p><a
href="http://www.sofasurfer.eu/"><img
src="http://line25.com/wp-content/uploads/2010/07/digital-labs.jpg" alt="" title="Digitallabs" width="500" height="270" class="alignnone size-full wp-image-1305" /></a></p><p
class="btn"><a
href="http://www.sofasurfer.eu/">View the website</a></p><h3><a
href="http://www.billytamplin.com/">Billy Tamplin</a></h3><p><a
href="http://www.billytamplin.com/"><img
src="http://line25.com/wp-content/uploads/2010/07/billy-tamplin.jpg" alt="" title="Billy Tamplin" width="500" height="270" class="alignnone size-full wp-image-1304" /></a></p><p
class="btn"><a
href="http://www.billytamplin.com/">View the website</a></p> <div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Line25?a=yeHH0YyLybQ:7bKHMYOm0gA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Line25?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=yeHH0YyLybQ:7bKHMYOm0gA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/Line25?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=yeHH0YyLybQ:7bKHMYOm0gA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Line25?i=yeHH0YyLybQ:7bKHMYOm0gA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=yeHH0YyLybQ:7bKHMYOm0gA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/Line25?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Line25?a=yeHH0YyLybQ:7bKHMYOm0gA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/Line25?i=yeHH0YyLybQ:7bKHMYOm0gA:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded> <wfw:commentRss>http://line25.com/inspiration/line25-sites-of-the-week-for-july-30th-2010/feed</wfw:commentRss> <slash:comments>21</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)
Database Caching 1/23 queries in 11.153 seconds using memcached

Served from: line25.com @ 2010-09-02 12:48:23 -->
