Responsive CSS on row of images

I'm trying to display a row of logos below the slideshow here: http://www.gordontraining.com/

(To see it, please use the css editor in the firefox browser, or whatever you use. Just remove the very last line in the style.css that has display: none. I can't let them show until it looks correct.)

I need to keep them responsive. All the images are the same height, but obviously different widths. So I'm having problems trying to get them all the same height, yet keep their full width instead of reacting to the div column width.
If I set the img width to auto, then they overlap each other.

All the css for that row is at the end of the style sheet.

This is the actual code I'm using to display them:
<div id="tophomelogos" align="center">
<div class="photosrow">
<div class="photoscolumn">
            <img class="empphotos wp-image-1158 " src="<?php bloginfo('template_directory'); ?>/images/homelogos/LET.jpg" />
</div>
<div class="photoscolumn">
            <img class="empphotos wp-image-1158 " src="<?php bloginfo('template_directory'); ?>/images/homelogos/PET.jpg" />
</div>
<div class="photoscolumn">
        <img class="empphotos wp-image-1158 " src="<?php bloginfo('template_directory'); ?>/images/homelogos/TET.jpg" />
</div>
<div class="photoscolumn">
            <img class="empphotos wp-image-1158 " src="<?php bloginfo('template_directory'); ?>/images/homelogos/BYB.png" />
</div>
<div class="photoscolumn">
            <img class="empphotos wp-image-1158 " src="<?php bloginfo('template_directory'); ?>/images/homelogos/SynSell.png" />
</div>
<div class="photoscolumn">
            <img class="empphotos wp-image-1158 " src="<?php bloginfo('template_directory'); ?>/images/homelogos/CRW.png" />
</div>
</div>
</div>

Open in new window


If  you have a better idea for the code itself, that would even be great. I'm just trying to get the responsiveness for different browser view widths.
LVL 14
DzynitAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rgranlundCommented:
add to the class img and height, a fixed height and width:100%.

like so:
.myClass img {
height:75px;
width:100%;
}
0
DzynitAuthor Commented:
That's better, but still squishing the two long ones toward the right.

I can tell now the heights look like they don't match, but there's some extra whitespace on the bottom of some - I can fix that in the images.
0
rgranlundCommented:
Please send me the exact url.  I'm not sure where I should be looking.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

DzynitAuthor Commented:
It's here: http://www.gordontraining.com/ but I have the css for that row set to display: none. I'm not sure what to use in  other browsers, but in firefox I use the css editor of the web developer extension and remove that last css line so I can see it live in the browser while working with it.

I'm sorry I can't let it display while working with it - their site gets too many visitors and they get very fussy about things if they look bad.
0
rgranlundCommented:
Try adding this.
div.photosrow .photoscolumn img {
    width: 100%;
   height:auto;
}
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DzynitAuthor Commented:
I switched it to use display: inline; and they're happy with that even though if the browser gets too skinny they pop down to more rows.
Thanks much for your help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.