July 2011
5 posts
3 tags
Vertically Centering DIVs
The ability to vertically center a DIV in HTML is one of the holy grails of web development, along with sticky footers and just generally making shit work in IE. I had to vertically centre something recently, and I was sick of using the dirty hacks involving absolute positioning, negative margins and extra HTML elements.
The solution below works in all modern browsers, and is supported in IE8 and...
4 tags
Chosen - a javascript select thingy →
I’ve been using the Select Menu plugin by Filament Group, but this looks like it’s possibly better. The reason I like the Filament Group one so much is it’s adherence to jQuery UI practices in classing etc and it’s full ARIA compliance.
jessedodds:
Chosen is a javsacript plug-in makes long, unwieldy select boxes much more user-friendly. It is currently available in...
2 tags
4 tags
Hi, I'm a UX Developer - You're a What? →
I showed this to my computer-illiterate girlfriend a while back to help her understand what I do for a living. While broad articles like this are never going to describe every person, perfectly; it did ring true in a few regards.
A really good read. Recommended.
8 tags
June 2011
6 posts
8 tags
@font-face Smoothing in Windows Chrome
WARNING: THE FIX BELOW IS DEPRECATED IN CHROME 16 + 17. SAD-FACE :(
You may have noticed the issue in which @font-face embeds rendered in Windows Chrome look mighty jagged. Fixes such as -webkit-font-smoothing barely do anything, so this hack relies on a fairly well known fact about Windows Chrome: putting text-shadow on anything makes it blurry as shit. Original implementations of the hack...