The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> google-maps iframe error on validation..
TelisJok
post Jun 22 2012, 11:18 AM
Post #1





Group: Members
Posts: 1
Joined: 22-June 12
Member No.: 17,310



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.

This post has been edited by TelisJok: Jun 22 2012, 11:20 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jun 22 2012, 09:08 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,011
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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


--------------------
Darin McGrew
WDG Member since 1998
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 14th September 2014 - 09:01 PM