1. Error Line 16 column 52: document type does not allow element "style" here.
...ss='main-text'><style type="text/css"><div align="center" class="styl2">Vitaj
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).
✉
2. Error Line 16 column 86: document type does not allow element "div" here.
...ss"><div align="center" class="styl2">Vitajte na mojej www stránke </div>
✉
3. Error Line 18 column 12: end tag for "style" omitted, but OMITTAG NO was specified.
</div>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
✉
4. Info Line 16 column 30: start tag was here.
<div class='main-text'><style type="text/css"><div align="center" class="
ako vyriečiť tieto chyby?ide o xhtml+css
-
mastermind
VIP
- Príspevky: 4810
- Registrovaný: 09 feb 2005, 13:17
to kde si videl davat do divov tento element?
definicia stylu ma byt v hlavicke a musi byt ukoncena </style> tagom
Kód: Vybrať všetko
<style type="text/css">