Re: Error: The frameborder attribute on the iframe element is obsolete

Hi Philip,
Many thanks for your quick and concise response – makes perfect sense.

Cheers,
Ben

From: Philip Taylor 
Sent: Tuesday, July 05, 2016 6:50 PM
To: Ben Butler ; www-validator@w3.org 
Subject: Re: Error: The frameborder attribute on the iframe element is obsolete

If your main concern is to ensure that your content renders as intended on legacy browsers, then you may safely ignore warnings that certain elements and/or attributes are obsolete.  The two essentially go hand-in-hand.

Philip Taylor
--------

Ben Butler wrote:

  Hi,
  I just came across this error when validating html:

  Error: The frameborder attribute on the iframe element is obsolete. Use CSS instead.

  From line 10, column 6; to line 10, column 96

  er">↩ <iframe id="headerFrame" src="pages/header.html" title="Header navigation" frameBorder="0">↩ 


  This html needs to work in IE8. I could not find a way to remove the frame borders in IE8 in CSS. When I apply border: 0 or frameborder: 0 to iframe in css or even to the id of an iframe in css, it does not remove the frameborder in IE8.

  Cheers,
  Ben


-- 

Philip Taylor

Received on Tuesday, 5 July 2016 10:12:25 UTC