Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position relative ignored in innerHTML
Message
From
26/02/2017 13:38:34
 
 
To
26/02/2017 12:51:50
General information
Forum:
CSS
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01648528
Message ID:
01648542
Views:
20
>>Sorry: "[...] top: 10px; right: 10px;[...]".
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform