Menu

#11 style assignments need units

open-accepted
None
5
2005-11-02
2005-08-24
Anonymous
No

If you already have defaults for elements in CSS that
assign left/top to general elements, then assignments
of pure numbers to style.left and style.top in
showSmartInputFloater will fail. As a general CSS note,
non-zero numbers are supposed to always have units.

The appropriate code is (near line 177):

siw.floater.style.left = x + "px";
siw.floater.style.top = y + "px";

Discussion

  • Chris Holland

    Chris Holland - 2005-11-02
    • assigned_to: nobody --> valmont
    • status: open --> open-accepted
     
  • Chris Holland

    Chris Holland - 2005-11-02

    Logged In: YES
    user_id=248425

    aah great feedback, thank you!

     
  • Nobody/Anonymous

    Logged In: NO

    doesn't work with IE 6. works with firefox though.

     
  • Nobody/Anonymous

    Logged In: NO

    thanks! fixed my problem :)

     

Log in to post a comment.