0

How can I force images inside of a <table> to fit? Images that are larger than the container stretch it out.
This CSS works in Chrome and other browsers but does not work in Firefox, what should I use?

.scaleimages img {
    max-width: 100%;
    height: auto;
}
GSerg
  • 76,472
  • 17
  • 159
  • 346
  • Possible duplicate of [Why do Firefox and Opera ignore max-width inside of display: table-cell?](http://stackoverflow.com/questions/2923710/why-do-firefox-and-opera-ignore-max-width-inside-of-display-table-cell) – mplungjan Jan 10 '16 at 07:50
  • No nothing from that thread worked however since I am using a fixed width board I realized I didn't have to set max-width to 100%, I could assign it the width of the container. – Noah Howard Jan 10 '16 at 08:21
  • Can you add a snippet or fiddle with this problem? – Mosh Feu Jan 10 '16 at 11:00

0 Answers0