first you have to find the resolution after that you can modify your application gui issues
below i mentioned the code to retrive the resolution using JS
/*************************************************/
function GetResolution(){
var width=screen.width;
var height=screen.height;
document.getElementById("hdnresolutionwidth").value=width;
document.getElementById("hdnresolutionheight").value=height;
}
/*********************************************************/
from this hdn values you can use and chage the GUI settings in your application
