HTML5 and frameborder

后端 未结 7 1899
天命终不由人
天命终不由人 2020-12-09 00:20

I have an iframe on an HTML5 document. when I validate I am getting an error telling me that the attribute on the iframe frameBorder is obsolete and to use CSS

7条回答
  •  爱一瞬间的悲伤
    2020-12-09 00:59

    Since the frameborder attribute is only necessary for IE, there is another way to get around the validator. This is a lightweight way that doesn't require Javascript or any DOM manipulation.

    
    
       
    
    

提交回复
热议问题