var hd = document.getElementById("hd");
hd.setAttribute("align", "center");

var hc = document.getElementById("hc");
hc.align = "center";

 

思考下 hc.align 与 hc.style.textAlign的差别

相关文章:

  • 2021-12-30
  • 2022-12-23
  • 2021-08-08
  • 2022-01-12
  • 2022-12-23
  • 2022-01-07
  • 2021-05-18
猜你喜欢
  • 2021-05-27
  • 2021-08-10
  • 2021-05-29
  • 2022-01-13
相关资源
相似解决方案