PDA

View Full Version : How do I set max image width in forum posts to match browser width?


asabet
02-13-2015, 10:50 AM
When I set image_max_size stylevar to 100%, it limits images in forum posts to 100% of the browser width in Chrome but not in IE.

As I Google for a solution, I find posts saying that max-width: 100% in CSS will only work for IE if the container width is set to 100%. I tried setting doc_width to 100% and image_max_size to 100%, but that doesn't work either.

Does anyone know how to make this work in all browsers?

asabet
02-15-2015, 01:26 AM
I just noticed that vBulletin 5 does this by default. Is there any way to accomplish it in vBulletin 4?

Max Taxable
02-15-2015, 02:58 AM
Is this in the default style?

Reason i ask is, I was unable to duplicate your issue in any of my styles including default. No matter the browser.

Can you link to a post on your site where this issue is evident?