I am having a problem with negative margins. What I want to do is have two divs that float left, then I want to have another div that floats right but is inline with the top div of the two divs on the left. Normally, I would just use a negative margin-top on the div that was floated right, but this does not seem to render correctly in Prince. The order of the divs in the HTML cannot change, so this must be done in CSS. Any help would be most appreciated
Example:
css:
html:
Example:
css:
#content { font-size: 13pt; }
.left { float: left; clear: left; }
.right { float: right; margin-top: -13pt; }
html:
<div id ="content">
<div class="left">Top</div>
<div class="left">Bottom</div>
<div class="right">Top</div>
</div>