<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <div style="-moz-transform: translate(50px, 50px); border: 1px solid red; width: 7ch;">
    A
    <div id="f" style="left: 50px; top: 100px; border: 1px solid blue; width: 7ch; position: fixed;">
      0
    </div>
  </div>
</body>
</html>