views:

24

answers:

2

Hello,

I have some very simple code:

$(document).ready(function(){
$('#module_body_News').height(0);
});

This works fine in Firefox but not in IE.

Why?

A: 

Try this:

$(document).ready(function()
{
    $('#module_body_News').css('height', 0);
});
YouBook
A: 

Why not to simply hide it(),

  $('#module_body_News').hide();
netadictos