<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/> <link rel="stylesheet" href="http://js.arcgis.com/3.9/js/dojo/dijit/themes/claro/claro.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.9/js/esri/css/esri.css"> <style type="text/css"> html, body { width: 100%; height: 100%; margin: 0; }Solved! Go to Solution.
html,body {
height:100%;
width:100%;
padding:0;
margin:0;
overflow:hidden;
}
body {
background-color:#fff;
color:#333;
font-size:14px;
overflow:hidden;
font-family:Georgia, "Times New Roman", Times, serif;
}
try putting the mapdiv in the css.
html, body, #mapDiv {
padding: 0;
margin: 0;
height: 100%;
}