Sim-on: W3C + Frames+ Border

Beitrag lesen

Hallo,

kann mir jemand bei folgenden helfen:

Ich muss für den Informatik-Unterricht in der Schule ne eingene Homepage nur mit HTML schreiben (und da ich sonst eher CSS und PHP benutze, wollte ich wenigstens sauberen html-code machen(W3C))...

jetz hab ich mir son tolles frameset geschrieben und es sollte keinen border geben.

<frameset border="0" cols="11%,60%">
  <frame scrolling="NO" name="content"  frameborder="0" src="inhalt.html" noresize marginwidth="0" marginheight="0">
  <frameset rows="10%,80%">
  <frame scrolling="NO" name="banner" frameborder="0" src="banner.html" noresize marginwidth="0" marginheight="0">
  <frame name="page" src="home.html">
  </frameset>

(genauso dürfte es hier in SELFHTML stehen)

(achja, wir MÜSSEN Frames benutzen :-) )
so, dann wir im Browser kein border angezeigt, allerdings sagt mir der W3C-Validator (http://validator.w3.org)
-----------------------------------------------------

This page is not Valid HTML 4.01 Frameset!

Below are the results of attempting to parse this document with an SGML parser.

1. Error Line 12 column 19: there is no attribute "BORDER".

<frameset border="0" cols="11%,60%">

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.
---------------------------------------

wie krieg ich das anders hin, ohne error??

Simon