【发布时间】:2014-05-23 20:25:43
【问题描述】:
我有两列,其中左侧具有动态宽度,右侧具有位置:固定的谷歌地图。
左列有一个最小宽度值,当窗口调整大小时,它不起作用。
这是一个 jsfiddle:http://jsfiddle.net/WWLd9/61/
HTML:
<script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
<section id="panel_contenedor">
</section>
<section id="mapa_contenedor">
<div id="map-canvas"></div>
</section>
CSS:
#panel_contenedor {
width: 50%;
min-width:300px;
}
#mapa_contenedor {
width:50%;
height:100%;
position:fixed;
top:0;
right:0;
}
#map-canvas {
height:100%;
width:100%;
}
【问题讨论】:
标签: css width fixed fluid two-columns