.height() gives different values Chrome/FF/IE

.height() gives different values Chrome/FF/IE

Hello,

At the moment i'm using this short piece of code

  1. $(document).ready(function() {
         $heightDiv = $('#colRight').height();
         $('#colLeft').css('height',$heightDiv);
     });
     



When i'm alerting the $heightDiv i'm getting 3 different value's.

Chrome: 139
IE: 779
FF: 781

The strange thing is that evrything is displaying like it should be in Internet Explorer.
Any fix for this?

Kind regards

Zijkantje