Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ google-maps iframe error on validation..

Posted by: TelisJok Jun 22 2012, 11:18 AM

hello, my english may not be that good so excuse me if u find mistakes..

so my problem is that i have inserted a map on my site from googlemaps with <iframe> tags and when i do the validation i get the following 4 errors..

1)
Line 105, Column 243: The frameborder attribute on the iframe element is obsolete. Use CSS instead.

…,23.752441&amp;spn=13.8971,28.54248&amp;t=h&amp;z=6&amp;output=embed"></iframe>

2)
Line 105, Column 243: The scrolling attribute on the iframe element is obsolete. Use CSS instead.

…,23.752441&amp;spn=13.8971,28.54248&amp;t=h&amp;z=6&amp;output=embed"></iframe>

3)
Line 105, Column 243: The marginheight attribute on the iframe element is obsolete. Use CSS instead.

…,23.752441&amp;spn=13.8971,28.54248&amp;t=h&amp;z=6&amp;output=embed"></iframe>

4)
Line 105, Column 243: The marginwidth attribute on the iframe element is obsolete. Use CSS instead.

…,23.752441&amp;spn=13.8971,28.54248&amp;t=h&amp;z=6&amp;output=embed"></iframe>

what can i do to erase these errors?

any help will be appreciated.. thank you in advance.

Posted by: Darin McGrew Jun 22 2012, 09:08 PM

Well, have you considered removing the frameborder, scrolling, marginheight, and marginwidth attributes, and using CSS instead?

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)