100% with for media size

's Avatar


29 Jul, 2014 02:01 PM

How to make a banner size 100%?

  1. 1 Posted by marketing on 29 Jul, 2014 02:22 PM

    marketing's Avatar

    How to make a banner size Width=100% Height=90 px

  2. Support Staff 2 Posted by Mike Cherichett... on 29 Jul, 2014 02:55 PM

    Mike Cherichetti's Avatar


    The only way to do this would be to create a HTML banner media and write the HTML code to display the image so you can customize the width/height properties.

    For example:

    <a href="http://example.com" target="_blank">
      <img src="http://example.com/banner.jpg" border="0" width="100%" height="90" alt="Click Here!" />

    I should also mention that this technique will not work with an IFRAME zone code since an IFRAME will not allow the banner to be resized.


  3. 3 Posted by marketing on 29 Jul, 2014 03:01 PM

    marketing's Avatar

    ok, as variant.
    But i am using Flash (.swf) media, in this case what can i do?

  4. Support Staff 4 Posted by Mike Cherichett... on 29 Jul, 2014 03:20 PM

    Mike Cherichetti's Avatar

    For a Flash banner you can use the following HTML code:

    <object width="100%" height="90" border="0" vspace="0" hspace="0" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
      <param value="http://example.com/banner.swf" name="movie">
      <param value="high" name="quality">
      <param value="#FFFFFF" name="bgcolor">
      <param value="true" name="loop">
      <param value="true" name="menu">
      <param value="true" name="play">
      <param value="always" name="allowscriptaccess">
      <param value="clickTAG=%%CLICKTAG%%http://destination.com/" name="flashvars">
      <param value="opaque" name="wmode">
      <embed src="http://example.com/banner.swf" width="100%" height="90" border="0" vspace="0" hspace="0" flashvars="clickTAG=%%CLICKTAG%%http://destination.com/" wmode="opaque" allowscriptaccess="always" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" play="true" loop="true" bgcolor="#FFFFFF" quality="high" menu="true">

    You will need to make two changes to the above code:

    • Replace both occurrences of http://example.com/banner.swf with the location of the .swf file
    • Replace both occurrences of http://destination.com/ with the advertisers redirect, making sure to leave the %%CLICKTAG%% variable in front of it so that clicks can be tracked
  5. Mike Cherichetti closed this discussion on 04 Aug, 2014 03:51 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

31 Mar, 2021 03:15 PM
03 Aug, 2020 08:33 PM
22 Jun, 2020 06:51 PM
07 Feb, 2020 05:39 PM
10 Dec, 2019 05:28 PM

Recent Articles