Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image resizing problem (max-height) Reply To: Image resizing problem (max-height)

#248991
bearhead
Participant

The problem is caused by width and height declarations being added to your images when the browser window goes below 780px. I assume this is because of some javascript on your website, but I haven’t been able to find the offending line.

A very dirty solution would be to add !important to
width: auto; for your img selector (line 173).