search

Home  >  Q&A  >  body text

超链接<a>的宽度和高度直接设置不起作用怎么解决?

直接在a标签中直接用width和height不行 ,没作用啊?

末日的春天末日的春天2921 days ago1352

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-09-30 23:54:54

    How to solve the problem that directly setting the width and height of hyperlink <a> does not work? -PHP Chinese website Q&A-How to solve the problem that the direct setting of the width and height of the hyperlink <a> does not work? -PHP Chinese website Q&A

    Let’s take a look and learn.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-01-13 14:43:53

    通过css属性display:block;或者display:inline-block; 
    把行属性修改成块状属性,就ok了。以后制作网页会经常需要使用这两个属性。

    reply
    0
  • Cancelreply