HOW TO
In ArcGIS Online, pop-ups are used to display an attribute's information of a certain feature. A standard pop-up comprises a default font text, and a single column listing of fields. However, it is possible to customize the text formatting styles. This article provides instructions to customize a pop-up display using HTML in ArcGIS Online Map Viewer Classic.
<table cellpadding="0px" cellspacing="3px"> <tbody> <tr valign="top"> <td style="width:125px; text-align:left; background-color:#ede8e8; padding:5px"><b>Type of amenity</b></td> <td style="width:225px; text-align:left; background-color:#ede8e8; padding:5px"><span>{AssetType}</span> </td> </tr> <tr valign="top"> <td style="width:125px; text-align:left; background-color:#ede8e8; padding:5px"><b>Notes</b></td> <td style="width:225px; text-align:left; background-color:#ede8e8; padding:5px">{Notes}</td> </tr> <tr valign="top"> <td style="width:125px; text-align:left; background-color:#ede8e8; padding:5px"><b>Bench length</b></td> <td style="width:225px; text-align:left; background-color:#ede8e8; padding:5px">{BenchLength}</td> </tr> </tbody></table>
The image below displays the standard pop-up.
The customized pop-up is displayed as below.
Get help from ArcGIS experts
Download the Esri Support App