<?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 How to set CSS for iPhone 3 and 4 applications? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-css-for-iphone-3-and-4-applications/m-p/150715#M14050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application developed with a Local Government template.&amp;nbsp; It renders fine on a Samsung Note, meaning that my title bar appears.&amp;nbsp; On an iPhone the title does not appear. Below is my CSS which is taken from the template, along with my html parameters.&amp;nbsp; When I have changed the max-device-width, nothing changes when viewing the application on an iPhone, I have not had the opportunity to try with an Android Device yet after changing the max px.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="css" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14108076005877878 jive_text_macro" jivemacro_uid="_14108076005877878"&gt;
&lt;P&gt;@media screen and (max-height:320px){.esriPopup .contentPane{max-height:480px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:500px){.esriPopup .contentPane{max-height:250px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:450px){.esriPopup .contentPane{max-height:111px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:400px){.esriPopup .contentPane{max-height:150px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:350px){.esriPopup .contentPane{max-height:100px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:300px){.esriPopup .contentPane{max-height:50px}}&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="mobile-web-app-capable" content="yes"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-capable" content="yes"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-status-bar-style" content="default"&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 19:02:19 GMT</pubDate>
    <dc:creator>GeoffreyWest</dc:creator>
    <dc:date>2014-09-15T19:02:19Z</dc:date>
    <item>
      <title>How to set CSS for iPhone 3 and 4 applications?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-css-for-iphone-3-and-4-applications/m-p/150715#M14050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application developed with a Local Government template.&amp;nbsp; It renders fine on a Samsung Note, meaning that my title bar appears.&amp;nbsp; On an iPhone the title does not appear. Below is my CSS which is taken from the template, along with my html parameters.&amp;nbsp; When I have changed the max-device-width, nothing changes when viewing the application on an iPhone, I have not had the opportunity to try with an Android Device yet after changing the max px.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="css" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14108076005877878 jive_text_macro" jivemacro_uid="_14108076005877878"&gt;
&lt;P&gt;@media screen and (max-height:320px){.esriPopup .contentPane{max-height:480px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:500px){.esriPopup .contentPane{max-height:250px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:450px){.esriPopup .contentPane{max-height:111px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:400px){.esriPopup .contentPane{max-height:150px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:350px){.esriPopup .contentPane{max-height:100px}}&lt;/P&gt;
&lt;P&gt;@media screen and (max-height:300px){.esriPopup .contentPane{max-height:50px}}&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="mobile-web-app-capable" content="yes"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-capable" content="yes"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta name="apple-mobile-web-app-status-bar-style" content="default"&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 19:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-css-for-iphone-3-and-4-applications/m-p/150715#M14050</guid>
      <dc:creator>GeoffreyWest</dc:creator>
      <dc:date>2014-09-15T19:02:19Z</dc:date>
    </item>
  </channel>
</rss>

