jQuery returning different heights for the same objects in WebKit (chrome) and Firefox

后端 未结 4 1847
野性不改
野性不改 2021-02-02 17:45

Im perplexed by this one.

jQuery.height() is coming back with different values in Firefox and Chrome. Measuring the pixels on-screen indicates that of the two, Chrome ap

4条回答
  •  旧时难觅i
    2021-02-02 18:27

    Firefox is a piece of crap. Adding a container

    and running outerHeight() on that fixes the issue.

提交回复
热议问题