468,107 Members | 1,314 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

Help validating ilayer

Hello,
Can some one help me with the problem that I am having to validate this.
Here is the code I have:
<ilayer name="test34i"><div id="test34"><img src="wavestest.gif"
alt="test"></div></ilayer>

Here is the error it is giving me:
You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element. 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 "Transitional" document
type to get the "target" attribute), or by using vendor proprietary
extensions such as "marginheight" (this is usually fixed by using CSS to
achieve the desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no supported
attributes; in this case, see the element-undefined error message for
further information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both allowed
in the chosen document type, and/or
Jul 23 '05 #1
9 3981
"mike" <nogood@.invalid> wrote:
Can some one help me with the problem that I am having to validate
this. Here is the code I have:
<ilayer name="test34i"><div id="test34"><img src="wavestest.gif"
alt="test"></div></ilayer> - - This error may also result if the element itself is not supported in
the document type you are using,


That's it. The validator presents things in a bit odd order, but the point
anyway is that ilayer is not, never was and never will be part of any HTML
specification. Besides, it's hopelessly outdated - it was never supported
by IE, for example.

What to do? Depends on what you are doing and what you aim at. You told
nothing about that.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #2
<ilayer> is a Netscape 4 extension. As Jukka says, it's not supported
by any
W3C specification, which is used by the validator to test your page. No
matter which document type you use to validate your page, you'll get
the
same kind of error message because it was never supported by the
organization that made the validator (the W3C.)
The good news is: anything the <ilayer> tag can do can be done with
CSS. I
suggest you use that instead, if you can. (If you don't know any CSS,
go
ahead and learn some. It's easy to use.)

Hope this helps.

df

"mike" <nogood@.invalid> wrote in message
news:y_***************@newsread3.news.pas.earthlin k.net...
Hello,
Can some one help me with the problem that I am having to validate this.
Here is the code I have:
<ilayer name="test34i"><div id="test34"><img src="wavestest.gif"
alt="test"></div></ilayer>

Here is the error it is giving me:
You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element. 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 "Transitional" document
type to get the "target" attribute), or by using vendor proprietary
extensions such as "marginheight" (this is usually fixed by using CSS to
achieve the desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for
further information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both allowed
in the chosen document type, and/or

Jul 23 '05 #3
In article <y_***************@newsread3.news.pas.earthlink.ne t>,
"mike" <nogood@.invalid> writes:
Hello,
Can some one help me with the problem that I am having to validate this.
Here is the code I have:
<ilayer name="test34i"><div id="test34"><img src="wavestest.gif"
alt="test"></div></ilayer>
There's no such thing as ilayer in any published HTML version.
Here is the error it is giving me:
You have used the attribute named above in your document, but the document


That's not the underlying error - it's cascaded from it. That presentation
is a weakness of the validator you used. Page Valet[1] in "visual validator"
mode would report the same error in a much clearer manner.

[1] http://valet.webthing.com/page/

--
Nick Kew
Jul 23 '05 #4

"Dave Finch" <dw*****@rogers.com> wrote in message
news:l-********************@rogers.com...
<ilayer> is a Netscape 4 extension. As Jukka says, it's not supported
by any
W3C specification, which is used by the validator to test your page. No
matter which document type you use to validate your page, you'll get
the
same kind of error message because it was never supported by the
organization that made the validator (the W3C.)
The good news is: anything the <ilayer> tag can do can be done with
CSS. I
suggest you use that instead, if you can. (If you don't know any CSS,
go
ahead and learn some. It's easy to use.)

Thanks do you have a website that I can learn to make this a css.
Jul 23 '05 #5
On Thu, 25 Nov 2004 19:01:50 GMT, mike <nogood@.invalid> wrote:
Hello,
Can some one help me with the problem that I am having to validate this.
Here is the code I have:


Bud, which newsgroup you want the replies in? You've posted here, in ciwas
and in ciwas-d too.
Jul 23 '05 #6
mike said the following on 11/25/04 23:05:
"Dave Finch" <dw*****@rogers.com> wrote in message
news:l-********************@rogers.com...
The good news is: anything the <ilayer> tag can do can be done with
CSS. I
suggest you use that instead, if you can. (If you don't know any CSS,
go
ahead and learn some. It's easy to use.)


Thanks do you have a website that I can learn to make this a css.


Can't help you with CSS code as a replacement for ilayer, but w3schools
has some fine tutorials and one of them is about CSS:

http://www.w3schools.com/

--
Regards
Harrie
Jul 23 '05 #7
Neal said the following on 11/26/04 01:45:
Bud, which newsgroup you want the replies in? You've posted here, in
ciwas and in ciwas-d too.


What's ciwas-d? Can't find a newsgroup that match that on my news serer
(news.xs4all.nl).

--
Regards
Harrie
Jul 23 '05 #8
On Fri, 26 Nov 2004 04:13:29 +0100, Harrie <sp*****@linux.org.invalid>
wrote:
Neal said the following on 11/26/04 01:45:
Bud, which newsgroup you want the replies in? You've posted here, in
ciwas and in ciwas-d too.


What's ciwas-d? Can't find a newsgroup that match that on my news serer
(news.xs4all.nl).


comp.infosystems.www.authoring.site-design

Jul 23 '05 #9
Neal said the following on 11/26/04 04:39:
On Fri, 26 Nov 2004 04:13:29 +0100, Harrie <sp*****@linux.org.invalid>
wrote:
What's ciwas-d? Can't find a newsgroup that match that on my news
serer (news.xs4all.nl).


comp.infosystems.www.authoring.site-design


Ahh, thanks. I was looking for something like

comp.infosystems.www.authoring.stylesheets-d*

--
Regards
Harrie
Jul 23 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Brandon Hoppe | last post: by
6 posts views Thread by mike | last post: by
2 posts views Thread by mike | last post: by
7 posts views Thread by mike | last post: by
7 posts views Thread by mike | last post: by
1 post views Thread by stalinmaddy | last post: by
10 posts views Thread by smartphreak | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.