W3C home > Mailing lists > Public > www-validator@w3.org > July 2016

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

From: Ben Butler <ben@animatedzombie.com>
Date: Tue, 5 Jul 2016 20:16:00 +1000
Message-ID: <A3C30B22C7494EDE9212630FCD7C4034@medion>
To: <www-validator@w3.org>, "Philip Taylor" <P.Taylor@Rhul.Ac.Uk>
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



Signature.jpg
(image/jpeg attachment: Signature.jpg)

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

This archive was generated by hypermail 2.3.1 : Tuesday, 5 July 2016 10:12:25 UTC