HTML img align=“middle” doesn't align an image

后端 未结 8 1234
臣服心动
臣服心动 2021-02-07 13:26

I want a image to be centered aligned. Image size is fixed in pixels.

So what I want is like this-

\"1\".

8条回答
  •  遥遥无期
    2021-02-07 14:00

    You don't need align="center" and float:left. Remove both of these. margin: 0 auto is sufficient.

提交回复
热议问题