div在Internet Explorer 11中漂浮出来

时间:2014-06-16 00:31:34

标签: html css css3

这是一个小问题 http://jsfiddle.net/MF4KN/

这是在Chrome上 enter image description here

这是在IE上 enter image description here

请参阅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>

0 个答案:

没有答案