we have a div with a background image. We want to make the image smaller, not to exceed the parent div. Right now, because the image is too big, it comes out of the parent div. I tried max-width:100%;height:auto and display:block; like I saw in another thread but didnt worked. can someone help me? thank you in advanced
Asked
Active
Viewed 2,276 times
0
-
2We need to see your HTML & CSS code but I think you should be looking at `background-size` for a **background-image**. – Paulie_D Jan 23 '15 at 12:11