Working with a responsive site, so I canβt use the width of the set.
I need pictures for all the lessons. I cannot determine the exact measurements, since it must also have max-width:100% in order to make it a responsive image that adjusts it relative to the container (which is relative to the width of the browser).
I have seen many solutions that suggest using background-image , but this is not possible, it should be an img tag. It should also work in IE8.
Any ideas?
I currently have:
.views-field-field-photo img { width: 100%; height: auto; } <div class="field-content"> <img src="imagehere" > </div>
source share