更新我实际上已经看到了它的长度,因为 .main div 是父级,并且它的大小是这样的。我不知道如何调整...
试图减少虚线以匹配与文本相同的高度,我该怎么做?
小提琴在这里http://jsfiddle.net/7U7H3/
<div class="container clearfix">
<div class="main">
<p>
The best selection of cheese I've ever seen! Cannot wait for our next order!
<p >
<img src="img/cheese1.jpg" alt="sky">
</p>
<p>
<img src="img/cheese2.jpg" alt="sky" id="img">
</p>
<p id="mainb">
The best selection of cheese I've ever seen! Cannot wait for our next order!
<p>
</div>
.main {
-webkit-column-gap: 1em;
-webkit-column-rule: 5px dotted #FFF;
-webkit-columns: 100px 2;
font-size: 3.5vw;
text-align: right;
line-height: 1.0;
}
img {
margin: 1.5em 0;
max-width: 100%;
float:left;
}