Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #308017

    hi!
    I figured out that images used in tables get resized. I actually found this support entry and followed the tip in there, but it doesn’t help.
    https://kriesi.at/support/topic/scaled-images-now-at-100-in-enfold-child-after-upgrading-parent-enfold-2-7-1/#post-260759

    I’m already using a custom team and added

    img.creativecommons, a img.creativecommons {
    width: 88px !important;
    height: 31px !important;
    border:none;
    padding: 0;
    margin:0;
    display:inline-block;
    max-width: 100%;
    image-rendering: optimizeQuality;
    }

    to style.css, but it’s not making any difference.
    The code used within the table is
    <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/at/"><img alt="Creative Commons Lizenzvertrag" src="https://i.creativecommons.org/l/by-sa/3.0/at/88x31.png" width="88" height="31" /></a>

    Any hint?
    Many thanks!

    • This topic was modified 10 years, 4 months ago by fri_z.
    #308051

    Just figured out that the CSS max-width: 100% is causing the resizing.
    For anybody having the same problem, just use:
    max-width: none;
    (pls. close this issue)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘table / avoid image resizing’ is closed to new replies.