Hallo,
habe folgendes Problem:
folgende Seite wird im IE so dargestellt, wie ich es möchte, im Mozilla sind alle Textelemente aber weiter unten als im IE.
Da meine Seite noch nicht online ist, hier der Quelltext.
Danke für diese Massen an Source! Du hättest ruhig die Syntax-hervorhebung des Forums benutzen können so hätte man ihn besser lesen können! Wie das geht steht in der Forums-Hilfe http://forum.de.selfhtml.org/hilfe/
Also: Ohne dass ich bis jetzt in Deinen Source hereingeschaut habe:
- Der Mozilla stellt Deine Seite RICHTIG dar, und der MSIE falsch!
- es gibt in HTML kein Element namens "<LAYER>"
- der HTML validatator http://validator.w3.org/ gibt folgendes aus:
Result: Failed validation, 38 errors
File: upload://Form Submission
Encoding: utf-8
Doctype: HTML 4.0 Transitional
This page is not Valid HTML 4.0 Transitional!
Below are the results of attempting to parse this document with an SGML parser.
1. Error Line 10 column 6: required attribute "TYPE" not specified.
<STYLE>
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
✉
2. Error Line 11 column 16: element "NOLAYER" undefined.
</STYLE><NOLAYER>
You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.
✉
3. Error Line 12 column 10: there is no attribute "ID".
<STYLE ID="NOF_STYLE_SHEET">
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.
✉
4. Error Line 12 column 27: required attribute "TYPE" not specified.
<STYLE ID="NOF_STYLE_SHEET">
✉
5. Error Line 40 column 48: document type does not allow element "META" here.
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
✉
6. Error Line 41 column 34: there is no attribute "ID".
<DIV ID="LayoutLYR"><LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WI
✉
7. Error Line 41 column 50: there is no attribute "TOP".
...LayoutLYR"><LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=800 HE
✉
8. Error Line 41 column 57: there is no attribute "LEFT".
...YR"><LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=800 HEIGHT=13
✉
9. Error Line 41 column 70: there is no attribute "VISIBILITY".
...="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=800 HEIGHT=1325 Z-INDEX=1>
✉
10. Error Line 41 column 84: there is no attribute "WIDTH".
...OP=0 LEFT=0 VISIBILITY=INHERIT WIDTH=800 HEIGHT=1325 Z-INDEX=1><DIV ID="Recht
✉
11. Error Line 41 column 95: there is no attribute "HEIGHT".
... VISIBILITY=INHERIT WIDTH=800 HEIGHT=1325 Z-INDEX=1><DIV ID="Rechteck4LYR"><L
✉
12. Error Line 41 column 108: there is no attribute "Z-INDEX".
...NHERIT WIDTH=800 HEIGHT=1325 Z-INDEX=1><DIV ID="Rechteck4LYR"><LAYER ID="Rech
✉
13. Error Line 41 column 109: element "LAYER" undefined.
...HERIT WIDTH=800 HEIGHT=1325 Z-INDEX=1><DIV ID="Rechteck4LYR"><LAYER ID="Recht
✉
14. Error Line 41 column 224: element "LAYER" undefined.
...FT=10 WIDTH=126 HEIGHT=1133 Z-INDEX=1><IMG ID="Rechteck4"
✉
15. Error Line 42 column 107: required attribute "ALT" not specified.
...ten_Bahn/a_Rectangle_18.gif" BORDER=0></LAYER></DIV><DIV ID="Bild2LYR"><LAYER
✉
16. Error Line 42 column 225: element "LAYER" undefined.
...LEFT=11 WIDTH=127 HEIGHT=61 Z-INDEX=2><A
✉
17. Error Line 43 column 199: required attribute "ALT" not specified.
...mmelbergbahn_Logo_klein.jpg" BORDER=0></A></LAYER></DIV><DIV ID="Bild1LYR"><L
✉
18. Error Line 44 column 83: element "LAYER" undefined.
...EFT=150 WIDTH=631 HEIGHT=59 Z-INDEX=3><IMG ID="Bild1" HEIGHT=59 WIDTH=631 SRC
✉
19. Error Line 44 column 239: required attribute "ALT" not specified.
...epage/Test_II_Halbkreis.jpg" BORDER=0></LAYER>
✉
20. Error Line 45 column 133: element "LAYER" undefined.
...EFT=307 WIDTH=285 HEIGHT=28 Z-INDEX=4>
✉
21. Error Line 47 column 141: element "LAYER" undefined.
...LEFT=19 WIDTH=109 HEIGHT=21 Z-INDEX=5>
✉
22. Error Line 49 column 143: element "LAYER" undefined.
...LEFT=19 WIDTH=109 HEIGHT=21 Z-INDEX=6>
✉
23. Error Line 51 column 143: element "LAYER" undefined.
...LEFT=19 WIDTH=109 HEIGHT=21 Z-INDEX=7>
✉
24. Error Line 53 column 143: element "LAYER" undefined.
...LEFT=19 WIDTH=109 HEIGHT=21 Z-INDEX=8>
✉
25. Error Line 55 column 143: element "LAYER" undefined.
...LEFT=18 WIDTH=109 HEIGHT=21 Z-INDEX=9>
✉
26. Error Line 57 column 144: element "LAYER" undefined.
...EFT=18 WIDTH=109 HEIGHT=21 Z-INDEX=10>
✉
27. Error Line 59 column 144: element "LAYER" undefined.
...EFT=18 WIDTH=109 HEIGHT=21 Z-INDEX=11>
✉
28. Error Line 61 column 144: element "LAYER" undefined.
...EFT=18 WIDTH=109 HEIGHT=21 Z-INDEX=12>
✉
29. Error Line 63 column 144: element "LAYER" undefined.
...EFT=18 WIDTH=109 HEIGHT=21 Z-INDEX=13>
✉
30. Error Line 65 column 133: element "LAYER" undefined.
...T=790 WIDTH=10 HEIGHT=1135 Z-INDEX=14><IMG ID="Rechteck5" HEIGHT=1135 WIDTH=1
✉
31. Error Line 66 column 13: required attribute "ALT" not specified.
BORDER=0></LAYER></DIV><DIV ID="LayoutBereich1LYR"><LAYER ID="LayoutBereich
✉
32. Error Line 66 column 152: element "LAYER" undefined.
...T=187 WIDTH=205 HEIGHT=252 Z-INDEX=15>
✉
33. Error Line 67 column 133: element "LAYER" undefined.
...FT=342 WIDTH=171 HEIGHT=28 Z-INDEX=16><IMG ID="Rechteck6" HEIGHT=28 WIDTH=171
✉
34. Error Line 68 column 13: required attribute "ALT" not specified.
BORDER=0></LAYER></DIV><DIV ID="Bild3LYR"><LAYER ID="Bild3LYR" VISIBILITY=I
✉
35. Error Line 68 column 134: element "LAYER" undefined.
...EFT=724 WIDTH=52 HEIGHT=27 Z-INDEX=17><A HREF="#Bilder alt oben"><IMG ID="Bil
✉
36. Error Line 68 column 239: required attribute "ALT" not specified.
...../../../Home/Pfeil_top.JPG" BORDER=0></A>
✉
37. Error Line 69 column 128: element "LAYER" undefined.
...LEFT=66 WIDTH=22 HEIGHT=13 Z-INDEX=18><A NAME="Bilder alt oben"></A><IMG ID="
✉
38. Error Line 70 column 85: required attribute "ALT" not specified.
...ten_Bahn/a_Rectangle_21.gif" BORDER=0></LAYER></DIV></LAYER></DIV>
Valides HTML ist bei der Fehlersuche schon besser, sonst kann man kaum einschränken, woran es denn liegt...
Danke im voraus für Eure Hilfe!
Gruß Tobias
mfG der Hilker
___________________________________
Zum MS-Internetexplorer:
Was will man von nem "aufgebohrten" Dateibrowser auch erwarten, wenn er Webseiten anzeigen soll? Mit ner angeschliffenen Gabel Kartoffeln schälen geht auch... Aber nen Messer ist da doch besser geeignet.
mozilla-europe.org/de/