我想要一个容器,其中包含50%左右的文本和50%的图像。但图像不会缩放到宽度的50%。这里有什么问题?图像不适用于容器宽度的50%
<div style="width:100%;">
<div style="widht:50%; float:left;background-color:#efefef;height:200px;width:50%;">
My Texting
</div>
<div style="width:50%; float:left;">
<img src="http://www.howtobeast.com/wp-content/uploads/2015/03/crossfit-fuengirola-slide03.jpg">
</div>
https://jsfiddle.net/kLcxnojn/