CSS Sticky Footer

Thursday, 22 January 2009

Getting a page’s footer to stick to the bottom of the page is a common and oddly hard-to-solve problem with pure CSS and HTML. The problem lies in the fact that the content in the page must be taller than the window’s viewport in order to anchor anything to the bottom of the page or else it’ll seem to float in the middle of the page.

Luckily there is now an elegant solution to the problem. Enter the New CSS Sticky Footer:

This sticky footer solution is working in all major browsers, including Google Chrome!. It works with floated 2-column layouts and we don’t get overlap in resized browser windows unlike older solutions you find when you Google sticky footer. And you don’t need an empty push div.


How to Make a Smooth Animated Menu with jQuery

Thursday, 22 January 2009

Build Internet! has a nice little write up about how to make a smooth animated menu with jQuery:

Ever seen some excellent jQuery navigation that left you wanting to make one of your own? Today we’ll aim to do just that by building a menu and animate it with some smooth effects.

Be sure to check out the demo.


54 Fantastic Logos

Wednesday, 21 January 2009

Dzine Blog has a list of 54 Fantastic Logos:

The better a logo greater the probability that your clients will remember you and get back to you. For that: designers have to be creative and have to work their ass off in designing beautiful, unique logos. And the results they come out with their hard work are stunning and spectacular.

I love these two in particular:

seven and six logo

families logo


Facebox

Tuesday, 20 January 2009

Just came across Facebox:

Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.

If you find regular lightbox style overlays too intrusive for some things, you might want to try this.


Another Great Cocoa Resource

Tuesday, 30 December 2008

While we’re on the subject of Cocoa resources, I recently came across this gem of a site: Cocoa with Love by Matt Gallagher.

To start, you might want to check out this article on Application Design. Truly great stuff.


Behind-The-Scenes Look at Textcast

Tuesday, 30 December 2008

Wolf Rentzsh offers a behind-the-scenes look at Textcast:

Textcast is a deceptively simple app. It’s aim is simple, but it unifies many disparate technologies and applications which leads to lots of complexity under the hood. It’s one of those projects where you can get the basics working inside a weekend, but it takes months to make it a real Mac app.

Be sure to check out the end of the article where he lists links to several great Cocoa resources.


Amazing Business Cards

Tuesday, 30 December 2008

Fubiz.net has a fantastic collection of deliciously over-designed business cards: 70 Amazing Business Cards.


Things 1.0 Release Candidate Now Available

Monday, 29 December 2008

Things is my current task manager of choice. The 1.0 version of Things will be officially released at Macworld Expo next week, but Cultured Code has made the 1.0 Release Candidate available starting today.

You can get Things for 20% off at their online store by using the coupon code “THINGSPRESALE20” at checkout from now through January 15th, 2009.

Note: As of 2:45pm HST it looks like Cultured Code’s servers are getting hammered by the traffic. They have provided this mirror via Twitter for the 1.0 RC: http://gridgets.com/Things.dmg.


100 Websites With Outstanding Artistic Design

Saturday, 20 December 2008

There’s a great list over at Webdesigner Depot of 100 Websites With Outstanding Artistic Design.

It’s a top-notch list with some incredibly beautiful designs. Great if you’re looking for some inspiration for your next redesign.


Quick Tip for Splitting Strings in PHP

Tuesday, 16 December 2008

Splitting strings into an array is generally pretty easy using something like explode but if your data is a little less consistent using the split function makes it a lot easier since you can break the string into parts using a regular expression.

For example:

$fruit = 'apples,oranges,bananas,grapes';
$fruit_array = explode(',', $fruit);

But if your string has commas with optional spaces afterward you’d need to do something like this:

$fruit2 = 'apples, oranges,bananas, grapes';
$fruit2_array = split(', *', $fruit2);

The regular expression is now splitting the string based on a comma and “zero or more” spaces. Now both of these will render the same array:

Array
(
    [0] => apples
    [1] => oranges
    [2] => bananas
    [3] => grapes
)