iframes...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ja ba

    iframes...

    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

  • brucie

    #2
    Re: iframes...

    in post: <news:200405232 0292127590%jbou derrs@aolcom>
    ja ba <jbouderrs@aol. com> said:

    [color=blue]
    > 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[/color]

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




    --
    b r u c i e


    Comment

    • Steve Pugh

      #3
      Re: iframes...

      ja ba <jbouderrs@aol. com> wrote:
      [color=blue]
      >are they not valid i css?[/color]

      That's totally meaningless.
      An (X)HTML cosntruct is neither valid nor invalid in CSS.
      [color=blue]
      >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 "/>".[/color]

      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.
      [color=blue]
      >though my site is valid XHTML 1.0 Transitional[/color]

      Thre validator doesn't agree with you:



      Steve

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

      Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

      Comment

      Working...