title: HTML mobile responsive no JavaScript or Forms for Ebay
body: <p>Ok so I have been working on a small project for a friend of mine that needed a HTML5 template for his Ebay account. Ebay are introducing new rules that means you cannot have certain content such as Javascript and Forms in the description. For some reason when I use <a href="http://www.i-ways.net/mobile-friendly/en-uk/" rel="nofollow noreferrer">http://www.i-ways.net/mobile-friendly/en-uk/</a> to check it is mobile responsive it says its not and it also tells me I have JavaScript in my code, which I do not have. Can anyone suggest better approaches please?  </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
          &lt;title&gt;{{ title }}&lt;/title&gt;
  &lt;style&gt;
          body {
              background-color: #f1f1f1;
          }
          .wrapper {
              margin: 0 auto;
              padding: 0 20px 20px 20px;
              max-width: 1080px;
              min-width: 200px;
              background-color: #ffffff;
              height: 100%;
          }
          .header {
              width: 100%;
              height: 100px;
          }
          .header-right {
              float: right;
              height: 15px;
              padding: 24px 40px 20px 5px;
              margin-bottom: 30px;
  
          }
          .logo {
              float: left;
              display: block;
              max-width: 100%;
              max-height: 100%;
              border: 0;    
          }
          .call-us {
              padding-right: 20px;
              max-width: 100%;
          }
  
            .cartImg {
              max-width: 40px;
              max-height: 40px;
          }
  
          /*MEDIA QUERY at 676 to 808px*/
          @media (min-width: 676px) and (max-width: 808px) {
                  .logo {
              float: left;
              display: block;
              max-width: 100%;
                  margin-left: 25%;
              border: 0; 
                }
              }
  
         @media (min-width: 676px) and (max-width: 808px) {
                  .call-us {
              float: left;
              display: block;
              margin-right: 25%;
              max-width: 100%;
                }
              }
  
          @media (min-width: 676px) and (max-width: 808px) {
              .cartImg {
                  float: left;
                  margin-left: 25%;
                  margin-top: 10px;
                }
              }
  
          /*MEDIA QUERY at 330 to 456px*/
          @media (min-width: 330px) and (max-width: 456px) {
                  .call-us {
              float: left;
              display: block;
              margin-left: 45px;
              max-width: 100%;
                }
              }
  
          @media (min-width: 330px) and (max-width: 456px) {
                  .cartImg {
                  float: left;
                  margin-left: 50%;
                  margin-top: 10px;
                }
              }
  
          /*MEDIA QUERY at 279 to 330px*/
          @media (min-width: 279px) and (max-width: 330px) {
                  .call-us {
              float: left;
              display: block;
              margin-left: 20px;
              max-width: 100%;
                }
              }
          @media (min-width: 279px) and (max-width: 330px) {
                  .cartImg {
                  float: left;
                  margin-left: 50%;
                  margin-top: 10px;
                }
              }
  
          .main {
              width: 100%;
            font-family: Segoe UI, Arial;
          }
          p {
            font-family: Segoe UI, Arial;
              font-size: 16px;
          }
          h1 {
            text-transform: uppercase;
              font-family: Segoe UI, Arial;
              font-weight: bold;
              letter-spacing: -0.5px;
              clear: both;
              text-align: center;
          }
          .styleBottomRed {
              height: 40px;
              line-height: 40px;
              padding: 0 10px;
              color: #FFFFFF;
              text-transform: uppercase;
              font-family: Segoe UI, Arial;
              font-weight: bold;
              letter-spacing: -0.5px;
              background-color: #204393;
              border-left: 2px solid white;
              text-align: center;
          }
          .tab_content_main {
              padding: 0 15px;
              background-color: #F1F1F1;
          }
          .prod-img {
              max-width: 100%;
              max-height: 100%;
          }
          hr {
             display: block;
             position: relative;
             padding: 0;
             margin: 8px auto;
             height: 0;
             width: 100%;
             line-height: 0;
             clear: both;
             border: none;
          }
          .bottomTabs {
              font-size: 20px;
              font-family: Segoe UI, Arial;
              font-weight: bold;
              height: 40px;
              max-height: 50px;
              text-align: center;
              color: white;
              background-color: #204393;
          }
          #iconImg {
              float: right;
              max-width: 40px;
              max-height: 40px;
          }
  
          .bottomTabsUL, ul, li {
              list-style-type: square;
              font-size: 16px;
          }
  
              /*MEDIA QUERY at 866 to 2000px hide different content and show other*/
              @media screen and (min-width: 866px) and (max-width: 2000px) {
                .bottomTabs { display: none; }   /* hide it elsewhere */
              }
              @media screen and (min-width: 866px) and (max-width: 2000px) {
                .bottomTabsUL, { display: none; }   /* hide it elsewhere */
              }
              @media screen and (min-width: 866px) and (max-width: 2000px) {
                .tdMobile { display: none; }   /* hide it elsewhere */
              }
              @media screen and (min-width: 0px) and (max-width: 866px) {
                section { display: none; }   /* hide it elsewhere */
              }
  
              /*TAB CSS*/
              * {
                box-sizing: border-box;
              }
              section {
                position: relative;
                width: 100%;
                margin: 0 auto;
                z-index: 0;
                color: white;
              }
              section:after {
                content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.';
                position: absolute;
                left: 0;
                top: 45px;
                font-size: 16px;
                text-align: left;
                background-color: #F1F1F1;
                padding: 8px 20px 20px 20px;
                max-width: 100%;
                min-width: 200px;
                min-height: 125px;
                color: black;
              }
              button {
                cursor: pointer;
                width: 199px;
                display: inline-block;
                background-color: #204393;
                color: white;
                text-align: center;
                transition: .25s ease;
                border: none;
                padding: 10px;
                font-size: 18px;
                margin-bottom: 145px;
              }
              .divTab:focus button, button:focus {
                background-color: #EE2725;
                outline: none;
                font-size: 18px;
              }
              .tabP {
                display: none;
                font-size: 16px;
                padding: 20px 20px 20px 20px;
              }
              button:focus + .tabP, .divTab:focus P {
                display: block;
                position: absolute;
                background-color: #F1F1F1;
                width: 100%;
                min-width: 200px;
                min-height: 150px;
                left: 0;
                color: black;
                z-index: 2;
                outline: none;
                top: 29px;
                text-align: left;
                padding-top: 8px;
              }
              .divTab {
                display: inline-block;
              }
              .divTab:focus {
                outline: none;
              }
  &lt;/style&gt;
  &lt;/head&gt;
      &lt;body&gt;
          &lt;div class="wrapper"&gt;
              &lt;div class="header"&gt;
  
                  &lt;a href="http://stores.ebay.co.uk/" target="_blank"&gt;&lt;img class="logo" title="shopname" src="https://EXAMPLE.gif"/&gt;&lt;/a&gt;
  
                  &lt;div class="header-right"&gt;
                      &lt;a href="tel:0800000000"&gt;&lt;img class="call-us" alt="Call Us" title="Call Us" src="https://EXAMPLE.gif"/&gt;&lt;/a&gt;
                      &lt;a href="http://stores.ebay.co.uk/" target="_blank"&gt;&lt;img class="cartImg" alt="Cart Image" title="CartImg" src="https://EXAMPLE.png" /&gt;&lt;/a&gt;
                  &lt;/div&gt;
  
              &lt;/div&gt;
  
                &lt;hr&gt;
                 &lt;div class="main"&gt;
                &lt;hr&gt;
  
                &lt;h1&gt;{{ title }}&lt;/h1&gt;
  
                &lt;hr&gt;
                &lt;center&gt;&lt;img class="prod-img" src="{{ images[0].url }}" width="500px" /&gt;&lt;/center&gt;
                &lt;hr&gt;
  
                 &lt;p&gt;{{ description }}&lt;/p&gt;
  
                  &lt;br&gt;
  
                  &lt;!--Footer tabs for selecting payment, delivery, returns and warranty.--&gt;
                  &lt;section&gt;
                             &lt;div class="divTab"&gt;
                               &lt;button&gt;Payment&lt;/button&gt;
                               &lt;p class="tabP"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt;
                             &lt;/div&gt;
                             &lt;div class="divTab"&gt;
                               &lt;button&gt;Delivery&lt;/button&gt;
                               &lt;p class="tabP"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt;
  
                             &lt;/div&gt;
                             &lt;div class="divTab"&gt;
                               &lt;button&gt;Returns&lt;/button&gt;
                               &lt;p class="tabP"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt;
                             &lt;/div&gt;
                             &lt;div class="divTab"&gt;
                               &lt;button&gt;Warranty&lt;/button&gt;
                               &lt;p class="tabP"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt;
                             &lt;/div&gt;
                  &lt;/section&gt;
  
  
                  &lt;!--Footer tabs for Mobile application compatibility. selecting payment, delivery, returns and warranty.--&gt;
                  &lt;table style="width:100%; text-align:center;"&gt;
  
                    &lt;tr&gt;
                      &lt;td class="bottomTabs"&gt;Payment&lt;/td&gt;
                      &lt;/tr&gt;
                        &lt;tr&gt;
                          &lt;td class="tdMobile" style="text-align: left;"&gt;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt;
                          &lt;/td&gt;
                        &lt;/tr&gt;
  
                      &lt;tr&gt;
                      &lt;td class="bottomTabs"&gt;Delivery&lt;/td&gt;
                      &lt;/tr&gt;
                        &lt;tr&gt;
                          &lt;td class="tdMobile" style="text-align: left;"&gt;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt; 
                              &lt;ul class="bottomTabsUL"&gt;
                                  &lt;li&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/li&gt;
                                  &lt;li&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/li&gt;
                              &lt;/ul&gt;
                          &lt;/td&gt;
                        &lt;/tr&gt;
  
                      &lt;tr&gt;
                      &lt;td class="bottomTabs"&gt;Returns&lt;/td&gt;
                      &lt;/tr&gt;
                        &lt;tr&gt;
                          &lt;td class="tdMobile" style="text-align: left;"&gt;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt;
                        &lt;/tr&gt;
  
                      &lt;tr&gt;
                      &lt;td class="bottomTabs"&gt;Warranty&lt;/td&gt;
                      &lt;/tr&gt;
                        &lt;tr&gt;
                          &lt;td class="tdMobile" style="text-align: left;"&gt;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam dictum pulvinar ultricies. Phasellus neque est, bibendum vel dui sit amet, fringilla mollis mauris. Integer ut ligula fringilla, dictum mauris eget, feugiat ipsum. Nullam at gravida odio.&lt;/p&gt;
                          &lt;/td&gt;
                        &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>