0

If you would please go to http://debourg-dev.ch/syselcloud/erp-rh/ you will see that in firefox and opera the images are not using the max-height property. This is because I'm using display:table-cell to vertically align them, if I remove display: table-cell it works fine. How can I vertically align these images with display: table-cell and get firefox and opera to make use of the correct max-height value?

The concerned code is:

.partenaire-logo-wrap {
height: 110px;
text-align: center;
vertical-align: middle;
display: table-cell;
}

.partenaire-logo-wrap img {
max-height: 90px;
}

Thanks

user1280853
  • 1,079
  • 5
  • 14
  • 23

1 Answers1

0
.partenaire-logo-wrap img {
max-height: 90px;
-moz-height:90px;
-o-height:90px;
}

I am getting this information from here if you want to check out this post

Max-height ignored in Firefox, works in Chrome and Safari

Community
  • 1
  • 1
Spencer May
  • 4,266
  • 9
  • 28
  • 48