Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / March 2005



Tip: Looking for answers? Try searching our database.

How to validate a page with an iframe?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Unknown User - 30 Mar 2005 20:09 GMT
I just put an iframe in my page, but now the page doesn't validate. I  
guess I'm using legacy code:

<iframe src="produtos.html" id="show-hide" frameborder="0"  
scrolling="no"></iframe>

If I don't put frameborder="0" and scrolling="no", I have both an ugly  
grey border in IE and a scroll bar.
Is there a way to do this using CSS? I tried border: none; but it doesn't  
work.

Here's the page: http://www.bonardi.com.br/products.php

Thanks,

Signature

Boost the visibility of your web site in Google!  
http://www.digitalpoint.com/tools/ad-network/?s=5203

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

http://www.auriance.com - http://www.auriance.net

Jim Moe - 31 Mar 2005 06:24 GMT
> I just put an iframe in my page, but now the page doesn't validate. I  
> guess I'm using legacy code:
>
> <iframe src="produtos.html" id="show-hide" frameborder="0"  
> scrolling="no"></iframe>

  <iframe> is not a valid element in XHTML strict.
  Read the error messages when you validate a document. Excerpt from the
error message of the W3C validator:

"You have used the element named above in your document, but the document
type you are using does not define an element of that name. This error is
often caused by incorrect use of the 'Strict' document type with a
document that uses frames (e.g. you must use the 'Frameset' document type
to get the '<frameset>' element), or by using vendor proprietary
extensions such as '<spacer>' or '<marquee>' (this is usually fixed by
using CSS to achieve the desired effect instead)."

Signature

jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.