ziggy555
ziggy555

Reputation: 3

responsive images in full width container

hard to explain and my mind is blank! but i have a div that is full width, i then would like to put 8 images within the div that would then resize to whatever size your screen is. Sorry if this doesn't make sense does anyone have any ideas.

Upvotes: 0

Views: 6341

Answers (2)

wpdaniel
wpdaniel

Reputation: 762

You can make responsive images with this in css:

.img-responsive{
  display:block;
  max-width:100%;
  height:auto
 }

Upvotes: 0

Victor
Victor

Reputation: 14573

If I got you question, here is what you need. http://jsfiddle.net/ukkJm/

Having a div that's 100% width, you have to make the size of each image to be 100%/8 so 12.5%. Let me know if this is what you asked for, please!

Upvotes: 1

Related Questions