I tried to add some HTML text content (see the following html) in the pop-up of ArcGIS Online Webmap. All the tags and attributes used are listed in the Supported HTML webpage and should be respected and supported in ArcGIS Online in general. However, I found that some content in the style attribute were silently removed when I inspect the pop-up using DevTools in Chrome (see attached figure).
How can I fix this bug?
<div style="height: 200px;width: 400px;border: solid black;overflow-y: scroll;text-align: justify;">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/M%C3%B6bius_strip.jpg/240px-M%C3%B6bius_strip.jpg" style="display: inline-block;margin: 0 40px 0 0;">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Trefoil_knot_arb.png/220px-Trefoil_knot_arb.png" style="display: inline-block;margin: 0 40px 0 0;">
</div>
Are you using Map Viewer or Map Viewer Classic
I am using Map Viewer.