Can't validate my frameset page

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

The stupid thing is saying there is no border.

My page is written as such:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   " ">
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Pikachu&#39;s Paradise</title>
<meta name="keywords" content="Pokemon, Pikachu, Emulators, Roms, Pics,
Walkthroughs, Gameshark, Codes, Music">
<meta name="description" content="In this site you will find emulators and
all Pok?on roms all in 100% english as well as Gameshark codes and
walkthroughs and more.">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
   <frameset cols="150,*" border="0">
      <frame name="navigation" src="navigate.html" scrolling="no">
      <frame name="content" src="main.html">

Here's the exact error:

Error Line 11 column 33: there is no attribute "BORDER".
   <frameset cols="150,*" border="0">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 use CSS instead of this attribute. If
you received this error when using the <embed> element to incorporate flash
media in a Web page, see the FAQ item on valid flash.

Re: Can't validate my frameset page

Pikachu wrote:
Quoted text here. Click to load it

There is no border. It (smartly) tells you that.

Quoted text here. Click to load it

You are trying to use an attribute which is not supported (i.e., is
invalid) for the element (frameset) in the doctype (HTML 4.01 Frameset)
you've specified.

Border is not an attribute you can apply there (even if some UAs may
actually seem to allow it in some way).


Re: Can't validate my frameset page

But, without that border="0" command a slidebar appears between the two
seperate pages in the frames allowing people to drag it left or right. I
don't want that. What do you suggest I do?

Quoted text here. Click to load it

Re: Can't validate my frameset page

Pikachu wrote:
Quoted text here. Click to load it

Why on earth would you not want that? That's exactly what should happen
in the rare cases where the use of frames could be justified.

Quoted text here. Click to load it

Drop frames altogether or learn to live with it. Anyways, your
border="0" code does nothing here as it is overruled by my browser
settings (layout.frames.force_resizability).


Site Timeline