php.de

Zurück   php.de > Webentwicklung > HTML, Usability und Barrierefreiheit

HTML, Usability und Barrierefreiheit Themen rund um Textauszeichnung, Formatierung, Barrierefreiheit und Usability.

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 04.10.2005, 14:38  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard Validator

Hallo!
Habe ein Problem mit dem Validator. Er will meine Files nicht testen. Anbei die Fehlermeldung und der Code. Danke für Hilfe.

Zitat:
Result: Failed validation,
File: C:\MyPHPs\index.html
Encoding:
Doctype:

Sorry, I am unable to validate this document because its content type is text/plain, which is not currently supported by this service.

The Content-Type field is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as ".html") to MIME Content-Type values (such as text/html).

That you received this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page.
Code:
<html>
<head>
<title>Lucas' Homepage</title>
</head>
<body>
<p style="margin:auto">
<center>
<table width="600px" border="0">
<tr><td align="center">
Titel
<tr><td align="center">
Menu Menu Menu Menu Menu Menu Menu Menu Menu Menu Menu
<tr><td align="justify">
Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas.
</table>
</p>
</body>
</html>
LG Lucas.
  Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 04.10.2005, 14:42  
Erfahrener Benutzer
 
Registriert seit: 20.01.2005
Beiträge: 1.557
PHP-Kenntnisse:
Fortgeschritten
Buhmann ist zur Zeit noch ein unbeschriebenes Blatt
Buhmann eine Nachricht über ICQ schicken Buhmann eine Nachricht über MSN schicken
Standard

setz mal als meta angabe rein

Code:
<meta name="content-type" content="text/plain">
übrigens schonmal vorweg: er wird meckern weil du keinen doctype angegeben hast.
Buhmann ist offline   Mit Zitat antworten
Alt 04.10.2005, 14:53  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard

Danke.

<p style="margin:auto">
<center> Wie kann ich center ersetzen? Das gibt es irgendwie seit Strict nicht mehr gleube ich
  Mit Zitat antworten
Alt 04.10.2005, 14:58  
Erfahrener Benutzer
 
Registriert seit: 27.10.2004
Beiträge: 1.093
PHP-Kenntnisse:
Fortgeschritten
Chr!s
Standard

Das gibt es schon ewig nicht mehr.
^^
<div style="text-align: center;"></div>
Chr!s ist offline   Mit Zitat antworten
Alt 04.10.2005, 15:02  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard

toll, das weiss ich. aber <p style="text-align: center;"> funzt nicht, und das ist ja das was ich brauche
  Mit Zitat antworten
Alt 04.10.2005, 15:32  
Erfahrener Benutzer
 
Registriert seit: 29.10.2004
Beiträge: 1.781
derHund
Standard

wie man bestimmte bereiche horizontal zentriert, wurde hier im forum (und nicht nur hier) schon hundert mal erklärt.
__________________
derHund ist offline   Mit Zitat antworten
Alt 04.10.2005, 16:31  
Gast
 
Beiträge: n/a
Standard

Zitat:
Zitat von BEGINNER-L
toll, das weiss ich. aber <p style="text-align: center;"> funzt nicht, und das ist ja das was ich brauche
Natürlich geht das. Was immer du da falsch machst
  Mit Zitat antworten
Alt 04.10.2005, 16:50  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard

Ich weiss nicht was du nutzt, wahrscheinlich IE, denn bei Opera unf Firefox ist der Text nach links geklemmt!!
Teste es aus, wenn du's nicht glaubst:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta name="content-type" content="text/html" />
<title>Lucas' Homepage</title>
</head>
<body>
<p style="margin:auto;text-align:center;">
<table style="width:600px;border:0;">
<tr><td align="center">
Titel
<tr><td align="center">
Menu Menu Menu Menu Menu Menu Menu Menu Menu Menu Menu
<tr><td align="justify">
Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas. Hallo ich bin der Lucas.
</table>
</p>
</body>
</html>
  Mit Zitat antworten
Alt 04.10.2005, 17:07  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard

Jo, nur noch einen Fehler von Validator, den ich nicht verstehe:


Error Line 10 column 39: document type does not allow element "table" here; missing one of "object", "ins", "del", "map", "button" start-tag.

<table style="width:600px;border:0;">

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "

" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
  Mit Zitat antworten
Alt 04.10.2005, 17:29  
BEGINNER-L
Gast
 
Beiträge: n/a
Standard

Hallo?
  Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Frage bezüglich HTML Validator &lt;Daniel&gt; HTML, Usability und Barrierefreiheit 18 12.10.2006 15:59
CSS Validator GrU3nL!nG HTML, Usability und Barrierefreiheit 3 18.07.2006 16:55
(x)html Validator dethlef14 HTML, Usability und Barrierefreiheit 3 20.03.2006 17:49
angehängte SessionID erzeugt HTML validator error PHP Tipps 2005-2 1 16.10.2005 19:18
session und xhtml validator bark PHP Tipps 2005-2 7 24.08.2005 19:58
Formular --- Validator meldet Fehler Bronks HTML, Usability und Barrierefreiheit 11 16.08.2005 16:58
Validator DER_Brain Off-Topic Diskussionen 6 12.08.2005 14:51
CSS validator bottom nicht anerkannt HTML, Usability und Barrierefreiheit 1 10.06.2005 18:08
Validator Problem (XHTML 1.1 Transitional) Chr!s HTML, Usability und Barrierefreiheit 6 04.06.2005 13:15
validator Gokuson HTML, Usability und Barrierefreiheit 13 20.04.2005 13:15
Was has der Validator gegen meinen Code? HTML, Usability und Barrierefreiheit 11 28.02.2005 22:13
Fehlermeldung im W3C Validator HTML, Usability und Barrierefreiheit 6 03.02.2005 13:47
Alternative Validator Icons El Barto HTML, Usability und Barrierefreiheit 6 14.01.2005 19:09
include() - validator meckert... PHP Tipps 2005 6 11.01.2005 16:24
Validator für PHP? PHP Tipps 2004-2 8 15.12.2004 16:44


Alle Zeitangaben in WEZ +2. Es ist jetzt 01:36 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.