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

Error: The frameborder attribute on the iframe element is obsolete

From: Ben Butler <ben@animatedzombie.com>
Date: Tue, 5 Jul 2016 14:30:40 +1000
Message-ID: <FDBA2D076E7140298C513D6B5C355B51@medion>
To: <www-validator@w3.org>
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
Received on Tuesday, 5 July 2016 08:46:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 5 July 2016 08:46:36 UTC