jQuery & CSS - Remove/Add display:none
To hide the div
$('.news').hide();
or
$('.news').css('display','none');
and to show the div
:
$('.news').show();
or
$('.news').css('display','block');
jQuery provides you with:
$(".news").hide();
$(".news").show();
You can then easily show and hide the element(s).
In JavaScript:
getElementById("id").style.display = null;
In jQuery:
$("#id").css("display","");