blob: 1dc1524cdab404fd2d5a10c709d873416d472efb [file] [log] [blame]
<div id="DIV1" style="border: solid 1px red;">
<div style="position: relative; top: 50%;">This text with top percent relative and containing block auto should appear inside the red border</div>
</div>
<div id="DIV2" style="border: solid 1px red;">
<div style="position: relative; bottom: 50%;">This text with bottom percent relative and containing block auto should appear inside the red border</div>
</div>