>>Sorry: "[...] top: 10
px; right: 10
px;[...]".
>
>That resolves the issue.
>
>Thanks
Great!
If there is a class definition for DivSlideShow and DivSlideShowX within scope, you can create the divs referencing the class to what they belong, without the need for inline styling.
As in
[...].innerHTML = '<div class="DivSlideShow"><div class="DivSlideShowX">test</div></div>';
----------------------------------
António Tavares Lopes