Positioning image alt text

后端 未结 1 1709
梦谈多话
梦谈多话 2021-02-12 05:09

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:38
    img {
        width: 100px;
        height: 50px;
        line-height: 50px;
        text-align: center;
    }
    

    Sets the alt vertical and horizontal align to middle.

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