Centering an image link with HTML and no CSS

后端 未结 2 1245
误落风尘
误落风尘 2021-01-19 18:02

I am trying to center an image using only HTML and no CSS, is this possible? I have tried the following code:




        
2条回答
  •  天涯浪人
    2021-01-19 18:39

    Another way that doesn't use CSS is to wrap the image in a table. While it's not the best way to do things on the Internet as it stands, but it is compliant with older e-mail clients, browsers, and systems where companies strip CSS from contents on a firewall.

    While I realize this question was about implementation in WordPress, Google thought it was relevant to my own issue.

提交回复
热议问题