the HTML code below is my HTML markup and i want that the positioning inside this template area is absolute. But when I do this right now, get positioned from the upper left corner but I want that the position (left:0, top:0) is the upper left corner of the class sheet.
Is it possible to do this like that?
<div class="sheets" data-bind="foreach: pages">
<div class="sheet">
<div class="elements">
<div data-bind="template: { name: 'image', foreach: Elements }">
</div>
</div>
</div>
</div>
Position the
<div>you want it to be offset from using something other thanstatic, usuallyrelative. In your case:should do the trick.
EDIT: Maybe I misread the question. Applying the style to
.sheetor.elementsmight be more appropriate.