New Landing How can we help? Themeforest Theme Support Dante Image in table cell won't resize in IE

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #48192
    kunzi
    Member
    Post count: 33

    There seems to be a problem with images inside table cells.

    We have:
    – full width page
    – full width table with four columns
    – images inside each column

    The images are not scaled to fit the table cells in IE. Images are too big and expand to the right outside the page.

    #48193
    kunzi
    Member
    Post count: 33
    This reply has been marked as private.
    #48196
    kunzi
    Member
    Post count: 33

    And I found a solution. Add the following style to the table:

    table-layout: fixed;

    #48680
    kunzi
    Member
    Post count: 33

    The previously mentioned solution works on desktop IE, but in Windows mobile the problem still exists. The images do not scale correctly and only the first column of images are shown while the rest are left outside the screen.

    #49808
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, I don’t have a windows phone to test with, so I will forward this to the developer. Cheers

    #49946
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @kunzi

    I wouldn’t recommend using the table shortcode for this, but instead why don’t you use the image asset in the page builder? That way you can set 4 images across per row, and they will be responsive, going to full width on mobile.

    Hope that helps.

    – Ed

    #49949
    kunzi
    Member
    Post count: 33

    I would gladly use them if our customer would have the ability to edit all the images to be the same size so it would look nice when they add more images 🙂

    I tried your recommendation earlier and could not get the images to align vertically and result was not so pretty as the image heights would vary from image to image. The table version aligns them nicely.

    #49967
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    What if we set a max-height for the image and then set the width to be auto and aligned to the center of the column?

    – Ed

    #49971
    kunzi
    Member
    Post count: 33

    I managed to set the max-height, set the width to auto and align horizontally to the center with margin-left: auto and margin-right: auto.

    But how could I align the images vertically?

    Also I only tested these with Chrome + osx.

    #50094
    Swift Ideas – Ed
    Keymaster
    Post count: 15264
Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register