Common practice is to place dynamic generated HTML in a container element using .innerHTML. It makes logical sense for static positioned elements that fit in the page flow.
What if you are generating HTML elements that are being positioned with FIXED? Is it necessary to create a placeholder element and use placeholder.innerHTML to insert the generated element into the DOM? Using a placeholder seems a bit counter-intuitive since the new HTML won't actually be displayed in that position in the rendered document flow.
Also, Is there performance implications if you were generating a large number of fixed elements? Is there a faster way to tell the browser "Here's an element I want rendered in fixed position on top of everything else." ?