I spend abour 35 minutes this morning to figure about why element.style.top doesn't work in firefox 1.04. The code is simple, its basically assinging an integer value to the element style top.
el.style.top = 85;
it doesn't work in firefox. Finally, I solved this problem by :
el.style.top = 85 + 'px';
Jobs done !
32 comments:
Well done you
You save my day man!!! thanks a Bunch.
Thank god.. I added the doctype strict, and it broke firefox.. this solved my problems
Thanks a lot for giving solvation regarding div position using js
Мужик!!!!!!!!!!
oh man, thanks a lot!
Thank you, and thank google for helping me find this
thanks
thanks a lot.
Thank you very much
Bravo, olé !!
Thank you man
firefox 3 and this solution is still the same, thanks a lot...
you have inspired me to fix a 3 days problem...
thx. sometimes a solution is too simple to consider...
Cheers mate, I was going to commit suicide.
Hi,
Thank you very much.....You solved my problem.and thanks to Google.
thanks for helping me too.
Thanks for the blog - thought I was going mad.
Thank you very much.
I had this problem.
Thank you.. spent a lot of time trying to fix this issue
Thanks!!! tricky solution
Thanks Man!! You R a real genious.
4 years down the line and you saved me a couple of (hours) i can say... Thanks!
Thank you so much, you saved me ;)
This was a huge help. I have been struggling for days.
Сто пудов мужик!!!!!!! Спасибо!!!
Dankeschön!
Thanks bud .. working perfectly now!
Thanks a lot. Saved my time.
5 years later you are still saving lives :)
great help.. i was struggling
Thanks for the simple solution.
Post a Comment