Make the advertisement image responsive

Indifference engine

Member
Elect
Joined
Jun 9, 2014
Messages
79
Reaction score
-2
Points
6
Responsive Image

You can make the image auto resize to the max width of the boundary by using max-width:100% and height:auto.

img {
max-width: 100%;
height: auto;
}

This one's free; next one I'm charging for ;) keep those advertisers happy
 
Yup! Thanks... I added !important to it. If you see that it affects other issues, please let me know.

One more thing I am working on is getting the google ad on the right to collapse under the forum instead of taking up width.
 
Top