haenser: ssi (includes) bei internet explorer

Beitrag lesen

Ok  am include liegt es nicht, bin ich ja mal wieder schlauer... aber was ist an meinem Code falsch, es ihn von dreamwaver prüfen lassen, der find ihn gut. Validator spuckt mir das aus, kann mir da mal wer helfen.

Below are the results of checking this document for XML well-formedness and validity.

1. Error Line 57, column 4: invalid comment declaration: found delimiter "[" outside comment but inside comment declaration .

<!--[if IE]>


   2. Info Line 7, column 4: comment declaration started here .

<!--

3. Error Line 58, column 26: document type does not allow element "style" here .

<style type="text/css">

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


   4. Error Line 64, column 7: "endif" is not a reserved name .

<![endif]-->


   5. Error Line 67, column 65: document type does not allow element "script" here .

...../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>


   6. Error Line 68, column 85: document type does not allow element "link" here .

...s" rel="stylesheet" type="text/css" />


   7. Error Line 69, column 6: end tag for "style" omitted, but OMITTAG NO was specified .

</head>

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".


   8. Info Line 6, column 0: start tag was here .

<style type="text/css">

9. Error Line 122, column 28: there is no attribute "align" .

<div id="mainContent" align="left" >

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.


  10. Error Line 126, column 13: there is no attribute "align" .

<h3 align="center">C'est la Vie</h3>