For the following HTML, prince generates an HR that overlaps (... underlaps? ) the sample image which floats left. But it should not. I'm using 10.7. Any ideas?
jw
jw
<html>
<head>
<style type='text/css'>
.image-container {
float: left;
}
.with-border {
border-bottom: 6px solid lightblue;
}
.clearfix {
clear: both;
}
.important { color: red; font-weight: bold; }
</style>
</head>
<body>
<h1>Using Border</h1>
<div class="image-container">
<img src="images/sample-image.png" />
</div>
<div class="passage">
<h3 class="passage-heading with-border">Passage Heading</h3>
<p>Annoying but not unexpected: The border-bottom for the h3 above over (or under?)-laps the image floating on the left. Suboptimal but Prince does what browsers do.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div class="clearfix"></div>
<h1>Using Horizontal Rule</h1>
<div class="image-container">
<img src="images/sample-image.png" />
</div>
<div class="passage">
<h3 class="passage-heading">Passage Heading</h3>
<hr></hr>
<p class="important">The hr above should not be like the border. It should respect float, and it does in all browsers.</b></p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</body>
</html>