更新 .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;
}