Toon posts:

W3 validator zegt dat border="0" niet bij frameset kan??

Pagina: 1
Acties:
  • 34 views sinds 30-01-2008

Verwijderd

Topicstarter
Daag

Ik heb n simpele html page laten testen bij de W3validator, met dit resultaat:
De doctype van mn html file is "-//W3C//DTD HTML 4.01 Frameset//EN"

Line 7, column 30: there is no attribute "BORDER"

<frameset rows="200,*" 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.

Die border moet echt op 0 staan, anders heb je zo'n etsend randje... Welke tag kan ik wel gebruiken bij HTML 4.01. Op de W3.org website zelf vind ik het niet...

code:
1
2
3
4
<frameset rows="200,*" border="0">
 <frame frameborder="0" src="logo2.html" marginwidth="0" marginheight="0" name="logo" noresize scrolling="no">
 <frame frameborder="0" src="main2.html" marginwidth="0" marginheight="0" name="onder" noresize scrolling="no">
</frameset>

[ Voor 13% gewijzigd door Verwijderd op 07-06-2005 09:58 ]


  • Erkens
  • Registratie: December 2001
  • Niet online

Erkens

Fotograaf

http://www.w3.org/TR/REC-html40/present/frames.html

je moet het attribuut "frameborder" gebruiken bij de frame-tags, gewoon even de specs erbij halen dus ;)

  • BtM909
  • Registratie: Juni 2000
  • Niet online

BtM909

Watch out Guys...

Erkens schreef op dinsdag 07 juni 2005 @ 10:02:
http://www.w3.org/TR/REC-html40/present/frames.html

je moet het attribuut "frameborder" gebruiken bij de frame-tags, gewoon even de specs erbij halen dus ;)
Die gebruikt hij ook ;)

Maar die border kan inderdaad weg. Als je frameborder op 0 gezet wordt (wel alle frames dan ;)) is je border ook weg :)

edit:

Ow TS: lees ook even dit: HTML, CSS, JavaScript, Flash en Director topics *12-05*
Hierin staat onder andere dat dit soort vragen bij de buren [WG] hoort.

[ Voor 19% gewijzigd door BtM909 op 07-06-2005 10:10 ]

Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.


  • whoami
  • Registratie: December 2000
  • Laatst online: 10:59
HTML / CSS / etc... horen niet in p&w thuis, maar in w&g; zoals BtM909 al zei.

Moven hoeft niet meer ; aangezien het ondertussen opgelost is. :)

https://fgheysels.github.io/


  • crisp
  • Registratie: Februari 2000
  • Laatst online: 12:16

crisp

Devver

Pixelated

Intentionally left blank


Dit topic is gesloten.