html - Force base size of images via css possible -


i grabbing images xml feed 320*240 .. sadly, images 320*239 or 320*238.

when use these images responsive layout, messes layout. image below wrong scaled image still fine, images besides wrong scaled image pushed 2 rows down.

is there way can force base size of images desired 1 avoid problem? had tried work min-height avoid problem, images bit scaled / down when resolution changed. working these values not option.

images not saved on server, hotlinked, need kind of way tell browser ignore real image size , accepps size tell him somehow size want 'think' image has.

any idea how accomplish that?

kindly, sascha


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -