Archive for April, 2008

Why the Apple earbuds are better than Bluetooth headsets

Tuesday, April 8th, 2008

Apple earbudsLet’s start with the obvious answer. No matter how you slice it, having that blue blinking pen cap sticking out of your ear is goofy. Borg fan or no, that’s never going to be flattering.

Do you really need your hands free? Most of the folks I see wearing the Bluetooth headsets have a free hand, and aren’t typically on a call for that matter. Honestly, unless you’re on hold with God, you don’t need that thing on in church.

My favorite part about the Apple earbuds have nothing to do with sound quality or appendage liberation. Earbuds say, “don’t talk to me, I’m really into my music or podcast.” Anyone with a Bluetooth headset eventually is asked, “oh, are you on a call?” because “excuse the interruption, but are you a registered voter?”.

Where a headset leaves a tempting ear open to the public, thank God in this society, interrupting someone enjoying their music is still taboo.

Popularity: 41% [?]

Browser dependent, conditional CSS styles

Sunday, April 6th, 2008

Browser dependent CSS stylesI have a client who doesn’t like the way the font I chose for their headers looks across platforms. I am using Lucida Grande for all the Mac browsers out there and Verdana for the PC users, since Lucida Sans Unicode on PC IE6 doesn’t look great.  Since PCs don’t typically have Lucida Grande, I took advantage of the fall back.  The CSS looks like this {font-family: Lucida Grande, Verdana, sans-serif}.

My client wasn’t feeling Verdana for the headers, but for body text, it’s hard to beat. So, I needed a way to sniff out the user’s browser, and conditionally set the class for the just headers accordingly. JavaScript to the rescue.

First, I used the script at http://rafael.adm.br/css_browser_selector/ to set the header classes to be browser specific. If the browser is IE6, you can set styles for that browser by using the “.win.ie6″ class. For Firefox on the Mac, “.mac.gecko”. Using those classes, I set independent styles for each browser. PC users will see the headers in Helvetica and body text in Verdana, while Mac users will still see both headers and body text in Lucida Grande. Pretty cool.

Popularity: 24% [?]