Say I have container.a and it has some height in pixels, say I have another container.b within container.a that is 80% of container.a, now say I want to fit an image that ha
Use this:
.image.a { height:100%; width:auto }