I am using CSS3 column-count. When I insert a image into the column text, the top of the columns no longer align.
I cannot make it work in IE 10, Firefox, Opera and Chrome in Windows 8.
I have searched but could not find anything on the subject. What can I do?
Kinde Regards
http://jsfiddle.net/lassebjensen/KeWX8/
Html:
<div class="two-columns-article">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nibh sapien, adipiscing non arcu vel, pulvinar pretium mi. Proin porta, lectus id bibendum condimentum, magna massa tincidunt lorem, non dictum justo leo at purus. Morbi ultricies cursus diam ac pretium. Curabitur auctor, justo sit amet volutpat auctor, mauris tortor vehicula urna, in dignissim enim sapien eu tortor. Donec tincidunt mauris purus, vel volutpat nibh convallis at. Pellentesque condimentum nec purus eu rutrum. Duis elementum faucibus ante eget imperdiet. Aenean lacinia mauris et blandit hendrerit. Vivamus arcu risus, tincidunt non sapien sit amet, tempor laoreet mi. Sed at imperdiet mi, in ornare nibh. Pellentesque a laoreet orci, posuere volutpat diam. Aenean auctor odio sed vulputate condimentum. Vestibulum eu nibh nec lacus mollis placerat. Suspendisse suscipit ut lacus ornare eleifend. Sed faucibus velit id nulla vestibulum, quis suscipit augue eleifend.
</p>
<p>
<img src="http://captainkimo.com/wp-content/uploads/2012/07/Common-Tiger-Butterfly-on-Yellow-Flower-in-Phuket-Thailand.jpg" > Donec rutrum mauris quis faucibus consequat. Praesent pulvinar commodo facilisis. Duis id eros id sapien mattis vestibulum quis nec est. Sed eleifend feugiat vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ac hendrerit est. In a purus velit. Aliquam a diam placerat, dignissim ipsum ut, viverra lorem. Donec ut egestas justo, in aliquam dolor. Sed a malesuada mi. Integer nec fringilla justo. In at laoreet mauris. Proin adipiscing mollis ullamcorper.
</p>
</div>
Css:
.two-columns-article{
-webkit-column-count: 2;
-webkit-column-gap: 34px;
-webkit-column-rule: 1px dotted #d5d5d5;
-moz-column-count: 2;
-moz-column-gap: 34px;
-moz-column-rule: 1px dotted #d5d5d5;
column-count: 2;
column-gap: 34px;
column-rule: 1px dotted #d5d5d5;
}
img{ width:300px; float:right;}