• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 HTML code to make images responsive?

#1
Since XF is responsive, I am guessing the responsive HTML code for banners etc. will make the ads look perfect on mobile devices. But what HTML code exactly should I use for clickable banner images? Please paste the code here that works perfectly with XF so I just need to edit the image link and destination link. I found the follow code online but the banners don't seem fully responsive when using this code.

HTML:
<p><center>
  <a href="(destination link)" target="_blank">
    <img src="(image link)" height="(image height)" width="(image width)" style='width:100%;max-width:(image width)px' border="0" alt="Null">
  </a></center>
</p>
 

Mouth

Well-known member
#2
Since XF is responsive, I am guessing the responsive HTML code for banners etc. will make the ads look perfect on mobile devices. But what HTML code exactly should I use for clickable banner images? Please paste the code here that works perfectly with XF so I just need to edit the image link and destination link. I found the follow code online but the banners don't seem fully responsive when using this code.
https://xenforo.com/community/resources/responsive-adsense.2084/