Having trouble with a CSS issue that seems simple but I can't find a solution for.
I have a main div with a min-height set to a certain value, specified in %. Since there is no outer div, the min-height won't display if it's given in px. I want the min-height to be 50% of the window height, which varies on different devices so setting it in px is not an option. If I use jquery.css() function within document.ready(), the page will start with zero height and then adjust to the specified height which doesn't look good on the website.
Case 1 : http://jsfiddle.net/pT56y/
FIDDLE EXAMPLE
case 2 : http://jsfiddle.net/pT56y/2/ Is there a proper way to deal with this issue?