<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea ArcGIS Online Popups Support HTML5 syntax like CSS in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-popups-support-html5-syntax-like-css/idi-p/973828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to create a table in an ArcGIS Online popup and found some enhancement opportunities. What I could not get to work was changing the row colors so either the odd or even rows would be a light gray using some css and a style tag. When I tried to incorporate a style tag with some css I got some weird results. When I would identify a feature the contents pane would change, so this led me to believe that css was not supported. So I tried doing this via straight html using the bgcolor parameter on every other &amp;lt;tr&amp;gt;&amp;lt;/tr&amp;gt; tag. Hit another wall because while this method works in a web map it does not translate in a web app because bgcolor is not supported in HTML5. What I would like to purpose is the ability to use HTML5 syntax within a popup so we can leverage CSS within the web map feature layer popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;``` Works but no different color rows&lt;/P&gt;&lt;P&gt;&amp;lt;table border="1" style="width:100%"&amp;gt;&lt;BR /&gt;&amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Parcel ID&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{PIN}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Address&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{Location}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Acres&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{ACRES}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Owner 1&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{OWNER}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;```Enhancement Request&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&lt;CODE&gt;&amp;lt;style type="text/css"&amp;gt; tr.d0 td { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-color: #d8d4d4; color: black; } tr.d1 td { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-color: #ffffff; color: black; } &amp;lt;/style&amp;gt; &amp;lt;table&amp;gt; &amp;lt;tr class="d0"&amp;gt;&amp;lt;td&amp;gt;Parcel ID&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{PIN}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr class="d1"&amp;gt;&amp;lt;td&amp;gt;Address&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{LOCATION}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr class="d0"&amp;gt;&amp;lt;td&amp;gt;Acres&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{ACRES}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr class="d1"&amp;gt;&amp;lt;td&amp;gt;Owner&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{Owner}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;/table&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;```&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2017 20:29:27 GMT</pubDate>
    <dc:creator>KenCarrier1</dc:creator>
    <dc:date>2017-10-26T20:29:27Z</dc:date>
    <item>
      <title>ArcGIS Online Popups Support HTML5 syntax like CSS</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-popups-support-html5-syntax-like-css/idi-p/973828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to create a table in an ArcGIS Online popup and found some enhancement opportunities. What I could not get to work was changing the row colors so either the odd or even rows would be a light gray using some css and a style tag. When I tried to incorporate a style tag with some css I got some weird results. When I would identify a feature the contents pane would change, so this led me to believe that css was not supported. So I tried doing this via straight html using the bgcolor parameter on every other &amp;lt;tr&amp;gt;&amp;lt;/tr&amp;gt; tag. Hit another wall because while this method works in a web map it does not translate in a web app because bgcolor is not supported in HTML5. What I would like to purpose is the ability to use HTML5 syntax within a popup so we can leverage CSS within the web map feature layer popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;``` Works but no different color rows&lt;/P&gt;&lt;P&gt;&amp;lt;table border="1" style="width:100%"&amp;gt;&lt;BR /&gt;&amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Parcel ID&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{PIN}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Address&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{Location}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Acres&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{ACRES}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;&amp;lt;b&amp;gt;Owner 1&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;td align="center"&amp;gt;{OWNER}&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;```Enhancement Request&lt;/P&gt;&lt;PRE style="color: #000000;"&gt;&lt;CODE&gt;&amp;lt;style type="text/css"&amp;gt; tr.d0 td { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-color: #d8d4d4; color: black; } tr.d1 td { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;background-color: #ffffff; color: black; } &amp;lt;/style&amp;gt; &amp;lt;table&amp;gt; &amp;lt;tr class="d0"&amp;gt;&amp;lt;td&amp;gt;Parcel ID&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{PIN}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr class="d1"&amp;gt;&amp;lt;td&amp;gt;Address&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{LOCATION}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr class="d0"&amp;gt;&amp;lt;td&amp;gt;Acres&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{ACRES}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr class="d1"&amp;gt;&amp;lt;td&amp;gt;Owner&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;{Owner}&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;/table&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;```&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 20:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-popups-support-html5-syntax-like-css/idi-p/973828</guid>
      <dc:creator>KenCarrier1</dc:creator>
      <dc:date>2017-10-26T20:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Popups Support HTML5 syntax like CSS</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-popups-support-html5-syntax-like-css/idc-p/1554863#M11850</link>
      <description>&lt;P&gt;I've had a similar issue with CSS style tags. Some CSS styling is working, and some isn't. See my post here: &lt;A href="https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554316/highlight/true#M6219" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/rotate-pop-up-image-based-on-rotation-angle/m-p/1554316/highlight/true#M6219&lt;/A&gt;0&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 21:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/arcgis-online-popups-support-html5-syntax-like-css/idc-p/1554863#M11850</guid>
      <dc:creator>Trisarahtops</dc:creator>
      <dc:date>2024-11-01T21:03:52Z</dc:date>
    </item>
  </channel>
</rss>

