Make the advertisement image responsive

Indifference engine

Member
Registered
Joined
Jun 9, 2014
Messages
79
Reaction score
0
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
 

FSSL

Well-known member
Staff member
Administrator
Doctor
Joined
Jan 31, 2012
Messages
7,093
Reaction score
96
Points
48
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