I wrote the following code - --------------------- var ref= $('span#timezone_edit').position();
ref_left = ref.left - 125; ref_top = ref.top - 45; //I want to display a div just over that span#timezone_edit var zonepickerBox = $('div#time_zone_picker'); $(zonepickerBox).css('display', 'block'); $(zonepickerBox).css('position', 'absolute'); $(zonepickerBox).css('left',ref_left+'... $(zonepickerBox).css('top',ref_top+'px... --------------------------------------... But the div does'nt appear as I want (over the div#time_zone_picker) in case of Internet Explorer 6. It comes correctly for mozilla and IE 7. Please send me some browser independent code to do the same