Positioning image alt text

后端 未结 1 1137
醉话见心
醉话见心 2021-02-12 05:14

I have a large table with a large number of entries corresponding to an equally large number of images. The requirement is to display an alt text for every image which could not

相关标签:
1条回答
  • 2021-02-12 05:44
    img {
        width: 100px;
        height: 50px;
        line-height: 50px;
        text-align: center;
    }
    

    Sets the alt vertical and horizontal align to middle.

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