Saturday, February 6, 2010

Fixed column align problem

I tried to align the columns using valign attribute of the tab, it doesn't work well in Firefox. Fixed by modifying the CSS.

Fixed border problem around smiley icons

Fixed border problem around smiley icons. Default blogspot CSS has a border around the image, but Small Apple doesn't have that.

Note: Small Apple uses JavaScript to map the smiley class to gif.

Thursday, February 4, 2010

Reward points make a difference

A comparison of the rewards from the big three oil companies.

Assumptions:

  1. Pump formula 98
  2. $1.93/litre (3 Feb 2009)
  3. 12% discount (5% station + 7% credit card)
  4. Spend $1,000
  5. The reward points is used to redeem petrol voucher
Caltex1 Thanks! point per litre.
1400 points for $40 petrol voucher.
589 points ($1000 / (1.93 * 0.88))
Equivalent to $16.80 petrol voucher.
ExxonMobil1 Smiles point for every $1.25 spent.
750 points for $30 petrol voucher.
800 points ($1000 / 1.25)
Equivalent to $32 petrol voucher.
Shell1 Escape point per litre.
600 points for $20 petrol voucher.
589 points ($1000 / (1.93 * 0.88))
Equivalent to $19.60 petrol voucher.

As you can see, ExxonMobil has the best reward based on the current assumptions. The higher the price, the better the reward. However, if the price is very low, say $1/litre, then Shell has the best reward, and Caltex and ExxonMobil are about the same.

Reward points make a difference