W3C error
Line 842, Column 26: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<p><div class="phocamaps" ><div class="phocamaps-box" align="center" style="marg…
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 "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Thank you in advance
Jonas
W3C error
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: W3C error
Hi, see similar posts in this forum, where this is explained, in short: People and SEO are important for Phoca Extensions. To have good SEO, the site needs to be displayed similar in every possible screens and in every possible browsers (e.g. in non standard browsers like IE is) To do so, you cannot be limited by validators becasue you need to have some hacks for non standard users, you need to use newest features (which validators don't know), you need to use system features (system features sometimes break validator rules: you have a choice - to break the rules and save system resources or to not break the rules and e.g. use a lot of system resources which can then slow down the loading of page, etc. etc. - this is only one example of many)
So there is no logical reason to be limited by validators and damage your SEO (of course I don't say, the displaying should break the html rules, etc. but in this case there is no problem to display this html for the browsers but to be validator friendly you need to write some system plugin which then will correct the html output and in fact will slow down your site and will make your SEO low )
See more about this problem: "different parts of the system cannot influence each other", etc.
Jan
So there is no logical reason to be limited by validators and damage your SEO (of course I don't say, the displaying should break the html rules, etc. but in this case there is no problem to display this html for the browsers but to be validator friendly you need to write some system plugin which then will correct the html output and in fact will slow down your site and will make your SEO low )
See more about this problem: "different parts of the system cannot influence each other", etc.
Jan
If you find Phoca extensions useful, please support the project