<html>
  <head></head>
  <body>
    <div id="a" style="margin-bottom: 1em;">A</div>x<div style="margin-top: 2em;">B</div>
  </body>
</html>