By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,880 Members | 1,817 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,880 IT Pros & Developers. It's quick & easy.

iframes...

P: n/a
are they not valid i css?

i'm getting this error:

Target: http://www.infectdesign.com

Please, validate your XML document first!

Line 71

Column 47

Element type "iframe" must be followed by either attribute
specifications, ">" or "/>".

though my site is valid XHTML 1.0 Transitional

Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
in post: <news:2004052320292127590%jbouderrs@aolcom>
ja ba <jb*******@aol.com> said:

i'm getting this error:
Target: http://www.infectdesign.com
Please, validate your XML document first!
Line 71
Column 47
Element type "iframe" must be followed by either attribute
specifications, ">" or "/>".

though my site is valid XHTML 1.0 Transitional


no its not. you've closed the iframe element twice

http://validator.w3.org/check?uri=ht...ectdesign.com/
--
b r u c i e
Jul 20 '05 #2

P: n/a
ja ba <jb*******@aol.com> wrote:
are they not valid i css?
That's totally meaningless.
An (X)HTML cosntruct is neither valid nor invalid in CSS.
i'm getting this error:

Target: http://www.infectdesign.com

Please, validate your XML document first!

Line 71

Column 47

Element type "iframe" must be followed by either attribute
specifications, ">" or "/>".
Looking at your source I see the following:

<iframe src="project/matt.html" name="img"width="650" marginwidth="0"
height="252" marginheight="0" scrolling="no" frameborder="0" id="img"
/></iframe>

Which contains several errors. The one that prevents validity is the
fact that you have closed the element twice:
In XHTML terms <iframe /></iframe> is the same as writing
<iframe></iframe></iframe>

The lack of a space between the name and width attributes may cause
problems in some browsers, and the lack of any content will cause
problems in any browser that doesn't support iframes. And there's a
lot of presentational markup that would be better handled by CSS.
though my site is valid XHTML 1.0 Transitional


Thre validator doesn't agree with you:

http://validator.w3.org/check?uri=ht...ectdesign.com/

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.