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)