Why not just set the css display
property to none
, and change it with JS when the document has loaded? If you're using jQuery on your page, it could look like this:
CSS:
#mydiv { display: none; }
JavaScript:
$(document).ready(function() {
$('#mydiv').show();
});