Ten Grand

Microsoft is using a ridiculous marketing tactic to get people to download and use their latest trainwreck web browser, Internet Explorer 8. They’ve created this campaign where you use Internet Explorer 8 and follow a twitter user to get clues to where this ten grand could be.

We’ve buried $10,000 somewhere on the Internet
and if you’re the first one to find it, you get to keep it.
But you’ll never find it using old Firefox.
(So get rid of it, or get lost)

Suuuuure, Firefox is old alright. And apparently IE 8 is a lot better than we all thought.

What’s even better? Someone who works for Firefox, created a website called TenGrandIsBuriedThere.com which is basically a Google map with a crop circle of the Firefox logo that you’ll see if you zoom in enough. Some nice marketing for Firefox.

Tags: , , ,

CSS and Javascript articles roundup

Here’s a quick roundup of interesting CSS and Javascript related articles I’ve come across this week:

Everything You Need to Know About the !important CSS Declaration
If you’ve ever worked on a sizable web project you know how hard it can be to figure out which HTML element is using which CSS selector. And since CSS uses cascading, it can be harder to figure out if a CSS selector is overriding another CSS selector. One way to hack and fix this is to use the !important declaration. Of course, that has its downfalls too. This article does a fine job of telling you how !important works and when it doesn’t.

All About Floats
If you’re new to designing with CSS of if you’ve ever been confused about how Floats work in CSS, this article is just perfect. I’ve always had to decide if I wanted to use floats, or position elements absolutely and relatively before creating a template for a project. The author lists how Floats work, why they could break and most importantly, techniques you could use to fix them.

7 JavaScript Differences Between Firefox & IE
Every web browser does things differently (IE6 is a perfect example). But did you know that there a lot of significant differences in the way you use javascript in different browsers? This article lists 7 interesting examples where you have to use different javascript syntax’s to do the same thing. Of course you could always use jQuery (or another javascript library) and just forget all this, but its good to know how javascript works on the bare-bones level.

TinyBox JavaScript Popup Box
After looking around for a small script that does very basic modal pop-ups, I finally found one that does exactly what its supposed to in less than 4kb. Easy to use and no-nonsense

Tags: , ,

Natalie Merchant has a voice that can touch your inner core. A strong voice with the right lyrics explains this album perfectly.

Driving in Dubai

I mounted my camera on a tripod and strapped it in the passengers seat and programmed the camera to take a photo every 3 seconds for 35 minutes while driving around Dubai. You can see the Mall of the Emirates (at 00:25) and the Burj Dubai on the right (at around 00:34).

Driving in Dubai from Azeem Azeez on Vimeo.

Tags: , ,

Photoblogs from boston.com and wsj.com

Boston.com and The Wall Street Journal both keep really impressive photo-blogs that document current world events. There are several other websites that do this, but of these sites do a wholesome job of giving you a better idea on how things look like up-close.

boston-photoblog WSJ
A boy and a girl stand next to a makeshift tent at a camp for Internally Displaced People, on the outskirts of Mogadishu on May 21, 2009. The lives of more than 50,000 severely malnourished children are at risk after Islamist militants looted medical and relief stocks in a town in central Somalia, UNICEF said this week.(from Boston.com) Girls covered their faces to avoid being photographed in Kandahar, Afghanistan, Friday. U.S.-led coalition forces killed 35 militants and wounded 13 others during a clash in southern Afghanistan, where insurgents killed eight truck drivers ferrying supplies for foreign troops, officials said Friday. (from wsj.com)

Tags: , ,

Strong beats and these guys are not too shy to talk about what’s on their mind. “In the Music” is one of the best hip-hop tracks I’ve heard in a long while.

Exactly what you would expect from the yeah yeah yeah’s. crazy, random and loud music that you just can’t get enough of.

I can’t get over their style. I think its the voice of the lead singer or maybe just how varied each track is. Either way, a definite listen.

Douglas Bowman on leaving Google

“When a company is filled with engineers, it turns to engineering to solve problems.”
— Douglas Bowman

Tags:

These guys definitely know how to put an album together. Good beats with tracks in more than one language. Perfect album to play in your car.

Fixed-width vs Padding

Something I’ve noticed a lot recently is that some websites use fixed-widths while creating tabs in a navigation system using CSS. Although this would work as a temporary fix, setting fixed-widths can be a hassle when the text in your tabs has to change. Every time you change the text, you will have to change the widths accordingly. And since the widths are fixed, you either have to alter the widths of each tab separately (by setting an ID like #tab-1, #tab-2 etc for each tab) or change the widths of all the tabs globally. Since each tab will have the exact same width when changing globally, some tabs will have more room than the other. The CSS for a menu system that uses the same fixed-width for all tabs would look something like this:

  • #menu li {
  •   border:1px solid #999;
  •   border-bottom:none;
  •   width:120px;
  •   height:24px;
  •   line-height:24px;
  •   text-align:center;
  •   …
  • }

Fixed-width Preview

If you take a closer look, you will notice that since the second tab has more text, all the other tabs have to be as wide as the second tab, otherwise some of the text of the second tab will be hidden. We could fix this by setting a unique ID for each tab(like I said, by setting an ID like #tab-1, #tab-2 etc for each tab) and then setting a width for each tab, but that just seems even more complicated. Also notice how we have to set a ‘line-height’ for the text in the tabs to align in the center vertically, and ‘text-align’ to center it horizontally.

A better way to do this is, is to NOT to use a width at all. Setting a width is like setting a limit to how much text you have inside the tab. The trick is to use paddings. You basically put text inside the tab, and push the tab from the inside from the left and right sides. This way, no matter how many letters each tab has, the tab will keep pushing to the sides to fit the text. So now, our CSS should look like this:

  • #menu li {
  •  border:1px solid #999;
  •  border-bottom:none;
  •  padding:6px 10px 6px 10px;
  •  …
  • }

Padding Preview

This way, no matter how much text you have, the tabs will look fluid and less constrained. An easy fix that will save you a lot of trouble down the road.

Tags: ,

If you like piano music, Jennifer is who you should be listening to.

Very bold lyrics. Lots of variety. Definitely one of those album you want to pay attention to the lyrics to.

Getting what you want

“If you don’t get what you want, it’s a sign either that you did not seriously want it, or that you tried to bargain over the price.”
— Rudyard Kipling

My Favorite Blackberry Apps

For most people, the Blackberry is an essential part of everyday life. After browsing around for hours, looking for handy apps for my blackberry, I realized I had been to over a dozen sites to find my top picks scattered all around the place. So I decided to post a nifty list of my fave blackberry apps:

  • Viigo – An amazing RSS reader that lets you keep in touch with the latest news, stock quotes, weather, sports and even flight information. A definite necessity for any blackberry user.
  • Google Maps – Lets you look up maps on your blackberry and also gives you directions, uses cellular towers to triangulate your position and find locations by voice.
  • Yahoo! Go – If you have a Yahoo! email account or use Flickr, you will find this app very useful. Also includes weather reports, maps, local listings, sports and a lot more with a very clean-cut interface.
  • Google Sync – Probably the most important application on my Blackberry. Lets you sync your Blackberry Calendar with your Gmail Calendar. The newer version also lets you sync your contacts. Very helpful in case you lose your phone or need to bulk-edit your contacts.
  • Twitterberry – Small little app that lets you twitter right from your berry. Also lets you post your photos from your blackberry to twitpic and then twitter about the photo you took.
  • Sudoku – The Blackberry can be a very serious and daunting piece of equipment and thats why we need some entertainment to lighten the mood. Sudoku from Magmic.com is excellent while you are on transit or waiting in line. For something a little challenging, try the “Genius” level.

I hope you enjoyed my short list. If you have an essential app you can’t live without, drop me a comment.

Tags: ,

 
 
  • Archives

  • Tags

Can't find what you're looking for? Try a search below, take a look at the archives, the tags list or contact me.