W3C home > Mailing lists > Public > www-validator@w3.org > October 2012

The "" attribute on the iframe element is obsolete. Use CSS instead.

From: Michael Williams <mwilliams@westtexasretina.com>
Date: Wed, 10 Oct 2012 14:11:40 -0500
To: <www-validator@w3.org>
Message-ID: <010d01cda71b$142a6250$3c7f26f0$@westtexasretina.com>
I have my page www.westtexasretina.com/contact.html, I get 7 errors in
regards to using iframe attributes rather than CSS, I attempted to use CSS
to control these attributes, however it did not get supported across all
browsers, now I did only check in IE and G Chrome, but I figured it was
enough since Chrome supports almost as much as firefox.

I am not sure how to implement this in CSS correctly, I tried to use the
following syntax

Iframe {





But it did not render correctly in Chrome, am I missing something, I think
it could be beneficial if obsolete attributes were referenced with the
correct CSS attribute, so simply 

The "" attribute on the iframe element is obsolete. Use CSS "" attribute

Be displayed, it seems obvious that the correct attribute could be pulled,
the same way as the obsolete one is known.

NOTE: Whenever possible, give the address of the document you were checking.
Received on Friday, 12 October 2012 12:19:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:07 UTC