Hi all-

It’s been a long time!

I’ve got a shopping cart that lists a group of images (categories) into a 
column.  I have no way of knowing how many images there will be as it varies.

So I have something like the following:

<div class="container”>
        <div class="row”>
                <div class="col-sm-3”> some stuff</div>
                <div class="col-sm-6”> images in question</div>
                <div class="col-sm-3”> some stuff</div>
        </div>
</div>

Right now, I’m using bootstrap 3 and have one column(middle) with all the 
images.  It works great, showing as many as 6 and as little as 1 image 
depending on the screen size.  Unfortunately, I cannot add the class 
“img-responsive” because then all the images line up on top of each other 
because the content then behaves like a block element.

I really didn’t want to specify how many columns there were and add each image 
to a column using media breaks unless there is nothing better.

Is there a better way to go about this to make the images responsive or should 
I create columns for each image (I can get an image count from the database and 
use that to build the rows/columns).

Thanks for any help!

James Sheffer
ja...@higherpowered.com
469-256-0268





> On May 7, 2013, at 3:10 PM, trevor donahue <donahue.tre...@gmail.com> wrote:
> 
> Hi list,
> quick question:
> Would you consider bootstrap for a big project? and for little ones?
> Personally I like the idea of not having to care about creating new css
> rules, instead just applying the already existent ones. I don't feel
> very comfortable using rules like "span4", mainly I tend to think it's too
> much of a burden to rely it on html. What do you guys think?
> 
> -- 
> Thanks,
> Donahue Trevor
> ______________________________________________________________________
> css-discuss [cs...@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [css-d@css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to