<?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>topic Pop-up Arcade Content Block: HTML formatting issue with float in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-content-block-html-formatting-issue/m-p/1282099#M51694</link>
    <description>&lt;P&gt;I'm having an issue making an image and text float side by side. Using the Arcade content block and associated html I get this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emilywpsgn_0-1682368324007.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68965i0557BBFBEEB838E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emilywpsgn_0-1682368324007.png" alt="emilywpsgn_0-1682368324007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var public_date = Text($feature.meeting_date,'dddd, MMMM D, Y @ hh:mmA')&lt;BR /&gt;&lt;BR /&gt;return {&lt;BR /&gt;    type: 'text',&lt;BR /&gt;    text: `&lt;BR /&gt;        &amp;lt;div style="float:left;padding:10px;background-color:#cfdce8;width:20%;"&amp;gt;&amp;lt;img style="float:left;width:30px;" src="{image_url}"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;        &amp;lt;div style="font-family:arial;float:right;align-top;padding:10px;width:75%;background-color:#cfdce8;"&amp;gt;Public meeting is scheduled for &amp;lt;strong&amp;gt;${public_date}&amp;lt;/strong&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;        `&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried using the Text (Source Formatting) content block and still couldn't get the image and text to float side-by-side.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emilywpsgn_2-1682368681115.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68968i4F516DF659E3D73B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emilywpsgn_2-1682368681115.png" alt="emilywpsgn_2-1682368681115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;div style="background-color:#cfdce8;"&amp;gt;&lt;BR /&gt;    &amp;lt;div style="float:left;padding:10px;width:65%;"&amp;gt;&lt;BR /&gt;        &amp;lt;span style="font-family:arial;"&amp;gt;Public meeting is scheduled for &amp;lt;strong&amp;gt;&lt;BR /&gt;        {meeting_date}&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;&lt;BR /&gt;    &amp;lt;/div&amp;gt;&lt;BR /&gt;    &amp;lt;div style="float:right;width:15%;"&amp;gt;&lt;BR /&gt;        &amp;lt;img style="float:right;" src="https://wpsgn.maps.arcgis.com/sharing/rest/content/items/7571b914c3fc40929328a5be04331759/data"&amp;gt;&lt;BR /&gt;    &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is appreciated,&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2023 20:45:00 GMT</pubDate>
    <dc:creator>emilywpsgn</dc:creator>
    <dc:date>2023-04-24T20:45:00Z</dc:date>
    <item>
      <title>Pop-up Arcade Content Block: HTML formatting issue with float</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-content-block-html-formatting-issue/m-p/1282099#M51694</link>
      <description>&lt;P&gt;I'm having an issue making an image and text float side by side. Using the Arcade content block and associated html I get this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emilywpsgn_0-1682368324007.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68965i0557BBFBEEB838E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emilywpsgn_0-1682368324007.png" alt="emilywpsgn_0-1682368324007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var public_date = Text($feature.meeting_date,'dddd, MMMM D, Y @ hh:mmA')&lt;BR /&gt;&lt;BR /&gt;return {&lt;BR /&gt;    type: 'text',&lt;BR /&gt;    text: `&lt;BR /&gt;        &amp;lt;div style="float:left;padding:10px;background-color:#cfdce8;width:20%;"&amp;gt;&amp;lt;img style="float:left;width:30px;" src="{image_url}"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;        &amp;lt;div style="font-family:arial;float:right;align-top;padding:10px;width:75%;background-color:#cfdce8;"&amp;gt;Public meeting is scheduled for &amp;lt;strong&amp;gt;${public_date}&amp;lt;/strong&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;        `&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried using the Text (Source Formatting) content block and still couldn't get the image and text to float side-by-side.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emilywpsgn_2-1682368681115.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68968i4F516DF659E3D73B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emilywpsgn_2-1682368681115.png" alt="emilywpsgn_2-1682368681115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;div style="background-color:#cfdce8;"&amp;gt;&lt;BR /&gt;    &amp;lt;div style="float:left;padding:10px;width:65%;"&amp;gt;&lt;BR /&gt;        &amp;lt;span style="font-family:arial;"&amp;gt;Public meeting is scheduled for &amp;lt;strong&amp;gt;&lt;BR /&gt;        {meeting_date}&amp;lt;/strong&amp;gt;&amp;lt;/span&amp;gt;&lt;BR /&gt;    &amp;lt;/div&amp;gt;&lt;BR /&gt;    &amp;lt;div style="float:right;width:15%;"&amp;gt;&lt;BR /&gt;        &amp;lt;img style="float:right;" src="https://wpsgn.maps.arcgis.com/sharing/rest/content/items/7571b914c3fc40929328a5be04331759/data"&amp;gt;&lt;BR /&gt;    &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is appreciated,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 20:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-content-block-html-formatting-issue/m-p/1282099#M51694</guid>
      <dc:creator>emilywpsgn</dc:creator>
      <dc:date>2023-04-24T20:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pop-up Arcade Content Block: HTML formatting issue with float</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-content-block-html-formatting-issue/m-p/1282128#M51696</link>
      <description>&lt;P&gt;Do it in a table:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var public_date = Text(Now(),'dddd, MMMM D, Y @ hh:mmA')
var img_url = "https://wpsgn.maps.arcgis.com/sharing/rest/content/items/7571b914c3fc40929328a5be04331759/data"

return {
  type: "text",
  text: `&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;
  &amp;lt;td&amp;gt;&amp;lt;img src="${img_url}" width="30px"&amp;gt;&amp;lt;/td&amp;gt;
  &amp;lt;td style="padding-left: 10px;"&amp;gt;Public meeting is scheduled for &amp;lt;br/&amp;gt; &amp;lt;strong&amp;gt;${public_date}&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;
  &amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;`
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1682371073575.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68984i1569B11A6855EF6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1682371073575.png" alt="JohannesLindner_0-1682371073575.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 21:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-content-block-html-formatting-issue/m-p/1282128#M51696</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-04-24T21:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pop-up Arcade Content Block: HTML formatting issue with float</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-content-block-html-formatting-issue/m-p/1282781#M51733</link>
      <description>&lt;P&gt;that's perfect!! thanks so much.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 13:32:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/pop-up-arcade-content-block-html-formatting-issue/m-p/1282781#M51733</guid>
      <dc:creator>emilywpsgn</dc:creator>
      <dc:date>2023-04-26T13:32:15Z</dc:date>
    </item>
  </channel>
</rss>

