screenshot: http://tinypic.com/view.php?pic=2hd4f7l&s=4
currently I've implement a key listen for moving the cursor (a gif actually) between each digits. my code looks like : var cursor = jQuery("#cursor"); var current=... //current jquery element before cursor gif. if(keycode=....){ current.after(cursor); } everything works fine with other numbers in the digit. except the last "1" in the numerator of the fraction. As shown in the screenshot, once we called "current.after(cursor)" here, the gif is rendered below the 321, which should be at the right side of 321. It's really wierd that, even in the firebugs, this td which contains the cursor.gif is already the last element of the tr. So it shoule be in the same line... But it doesn't actually... anyone knows why? it's tested in firefox 3.5.1