Why is width: 100% not working on div {display: table-cell}?

前端 未结 7 454
独厮守ぢ
独厮守ぢ 2020-12-25 10:46

I\'m trying to vertically and horizontally center some content overlaying an image slide (flexslider). There were some similar questions to this one, but I couldn\'t find a

相关标签:
7条回答
  • 2020-12-25 11:26

    I discovered that the higher the value of 'width' is, the smaller the box width is made and vice versa. I found this out because I had the same problem earlier. So:

    .inner-wrapper {
        width: 1%;
    }
    

    solves the problem.

    0 讨论(0)
提交回复
热议问题