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

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

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Date: Tue, 5 Jul 2016 09:50:28 +0100
To: Ben Butler <ben@animatedzombie.com>, <www-validator@w3.org>
Message-ID: <577B74D4.1030705@Rhul.Ac.Uk>
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 <http://wiki.whatwg.org/wiki/Presentational_elements_and_attributes>.
>
> 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 08:51:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 5 July 2016 08:51:13 UTC