<!DOCTYPE html>
<html>
<head>
  <style type="text/css">
#canvas {
  position: relative;
  }

.box {
  position: absolute;
  }
{% load alter_size %}
{% for t in textBoxes %}
#box{{t.id}} {
  {% for prop, value in t.css.items %}
    {{prop}}: {{ value }};
  {% endfor %}
  }
{% endfor %}


  </style>

</head>

<body>
<div id="wrapper">
  <div id="canvas">
    {% for t in textBoxes %}
      <div id="box{{t.id}}" class="box textBox">
        {{t.html}}
      </div>
    {% endfor %}
  </div>
</div>
</body>

</html>
