Here is how to set the height of a div
to full screen:
min-height:expression( document.body.clientHeight +’px’);
If your website is jQuery enabled, the same can be achieved by:
$('#yourHtmlElementId').attr('height',$(window).height());
NOTE: The prime reason behind posting this trick was that 'height:100%;' does not work with IE 8 browser. So if any alternative is posted, I would request the authors to test it in IE 8 compatibility mode in IE 9.
Software developer by profession, working for a service and product based organisation in India.
Career graph:
Software Programmer since 2002.
Web Developer in ASP.NET since 2004.
Interests:
I love reading the blogs and articles of technology experts. I love codeproject and stackoverflow .
I love to share knowledge and help the programmers. I appreciate if some body corrects my code or my concepts which helps me learn.