I use this meta parameters and javascript for try autosize
<meta name="viewport" content="user-scalable=yes, initial-scale=1, maximum-scale=1,
minimum-scale=1, width=device-width, height=device-height,
target-densitydpi=device-dpi" />
Whith this parameter i cannot resize screen , and in one Samsung S4 see screen very small. I try resize screen with javascript and aperance is bether
<script type="text/javascript">
function resolution_handling()
{
//first way to implement
browser_width = $(window).width();
browser_height = $(window).height();
$("#page1").css("width":browser_width+"px");
$("#page1").css("height":browser_height+"px");
//second way to implement
browser_width = screen.width;
browser_height = screen.height;
$("#page1").css("width":browser_width+"px");
$("#page1").css("height":browser_height+"px");
}
</script>
But with this script footer is showed follow element not is showed in botton of page.
- What it's the best method for resize screen is with this javascreipt?
- How i can put footer in botton of page?