resizing the map

Discussion created by sonedw on Nov 1, 2013
Latest reply on Nov 1, 2013 by sonedw
I define a div tag so
<div id="mainMap"></div>
and load a map to it by:
var map = new Map("mainMap", {
          center: [-96.5, 38.3],
          zoom: 6
and then add a basemap layer to it:
var topo = new ArcGISTiledMapServiceLayer(customBaseUrl);

But then I have need to resize teh mainMap div tag.
But the contained map does not seem to scale with the resized div tag.

What can be done to rescale the map with the containing div tag...