这是一个小问题 http://jsfiddle.net/MF4KN/
这是在Chrome上
这是在IE上
请参阅IE中的div如何开箱即用,
我使用的是IE11
错误的div具有此ID manual_add
这是css
#map_manual_address_container {
width:700px;
height:410px;
}
#map_canvas { width: 400px; height: 400px;
float:left;
}
#mamual_address {
float:left;
margin-left:30px;
height:410px;
}
#mamual_address textarea {
height:400px;
}
这是html
<fieldset>
<script src="https://maps.googleapis.com/maps/api/js"></script>
<div id="map_manual_address_container">
<div id="map_canvas"></div>
<div id="mamual_address">
<textarea name="address" placeholder="Address"></textarea>
</div>
</div>
<input type="button" name="previous" class="previous action-button" value="Previous" />
<input type="submit" name="submit" class="submit action-button" value="Submit" />
</fieldset>