How do you resize a javascript banner?

kai_uk

New member
The banners you get are usually a fixed size and not always the right one. How would you increase/decrease it e.g. by 20%, or change it to a different fixed width and height?
 
I would do that with css, and make it fit the container size. Please don't use fixed widths unless you have declared different width for each different size device.
 
I would ask the advertiser to re-size the banner for you. They may not like it if you are taking it upon yourself to do that for them, especially if it makes the banner look odd. It can make their business look unprofessional, like they don't know what they are doing. Instead give them a spec sheet of the sizes you accept on your site.
 
Changing the dimensions of images via CSS might have some impact on its look and feel and specially when it is involving an affiliate, things might not be appreciated. So I would opine to contact the advertisers and get the banners resized. and if you are creating them on our own, best is to go with the specific sizes as needed
 
Back
Top