Bug Report on Supported HTML tags and attributes of ArcGIS Online

99
2
07-04-2022 11:39 PM
KenTSUI
New Contributor

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>

 

 

0 Kudos
2 Replies
RussellRoberts1
Esri Frequent Contributor

Are you using Map Viewer or Map Viewer Classic

0 Kudos
KenTSUI
New Contributor

I am using Map Viewer.

0 Kudos