Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Position relative ignored in innerHTML
Message
De
26/02/2017 13:38:34
 
 
À
26/02/2017 12:51:50
Information générale
Forum:
CSS
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01648528
Message ID:
01648542
Vues:
19
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform