max-width on

后端 未结 7 1371
轻奢々
轻奢々 2021-02-13 18:57

I have a strange problem. On a site that were currently building we have a gallery function throuh the jQuery plugin, Gallerific. The gallery opens in a modal window. What I nee

7条回答
  •  庸人自扰
    2021-02-13 19:26

    As explained in other responses, you need to apply a width to a container to solve this issue in IE8. For a Galleriffic specific solution, you can add css similar to this:

    a.thumb img 
    {
        max-width: 160px; 
    }
    
    /* IE 8 specific bug */
    a.thumb
    {
        width: 160px; 
    }
    

提交回复
热议问题