Msg#: 4636211 posted 6:28 pm on Jan 9, 2014 (gmt 0)
I'm currently using the advanced settings Adsense code with @media to set Adsense width and height on my responsive site eg. (750w by 200h) (300by250) - that works fine
I tried the smart size ad code and the ad units showed fine at various widths with their container div set to 100% - however the height does not seem to be adjustable (seemed to be stuck on 90px). Tried setting height:200px in the ad container div css but all it did was leave a bottom white space.
Any one know if the smart size code can specify a height?
Added: This helps prevent problems like getting a 600 pixel tall ad in a space where you only want a horizontal banner or square ad. Also has the effect of forcing taller ad units where you want them. Keep in mind this is scaling to the size of the container. You can also try setting the max-width and max-height of your containers to control how much space the ad consumes.