Archive for the ‘CSS’ category

The Overuse of Ajax and How to be a good Ajax developer

November 24th, 2009

New to web design? Old to web design and clueless about the proper Ajax uses? Here is a good rule of thumb: If it doesn’t make your website easier, faster, or smarter to use — ditch it. This includes the majority of that slick Ajax that you are working on right now!

How is Ajax being misused these days? Or better yet, how do you properly use Ajax to make the user-experience on your website better?

» Read more: The Overuse of Ajax and How to be a good Ajax developer

Detecting IE with PHP to enable display:table-cell CSS

October 30th, 2009

An ugly hack for an ugly web browser.

I love the display:table-cell.  It gives you the ability to vertically align stuff.  It’s great.  With display:table-cell, you don’t ever need table layouts again.

The problem?  I’m sure you already know or you wouldn’t be reading this.  Internet explorer, the bastard son of the web browsing world, doesn’t support it.  (IE8 does, but IE8 still sucks for other reason.)

My solution involves  (the normally bad idea of) changing output based on user agent strings.

» Read more: Detecting IE with PHP to enable display:table-cell CSS