@joseph3559 I think it’ll be easier and less prone for unexpected break if you create the div and its contents using a Custom Element instead (assuming that you need for some reason to do it directly and not as Wix-Velo component.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to add script | 1 | 239 | July 2, 2018 | |
| Adding Scripts to site | 1 | 132 | September 7, 2018 | |
| Is there a way to directly embed html elements and javascript in any wix page, be able to surround elements in custom html, etc? | 0 | 83 | August 29, 2018 | |
| Wix Answers Widget via Code .js | 4 | 297 | September 9, 2017 | |
| Html id div tag rendering | 5 | 762 | April 18, 2021 |