I have added the following in the body of a block assigned to left sidebar (Garland).
[collapse collapsed title=help]some help text. [/collapse]
Can the following W3C validation error be prevented within collapse_text?
document type does not allow element "fieldset" here; missing one of "object", "ins", "del", "map" start-tag
…ntent"><p></p><p><fieldset class=" collapsible collapsed"><legend>help</legend>
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>").
Comments
Comment #1
pooneil commentedHi,
I haven't gotten a chance to reproduce your error. However, I just created a new beta under 6.x-2.0-beta1 that builds the output slightly differently to prevent a separate validation error. Feel free to give it a try.
Regards,
Anthony
Comment #2
pooneil commentedComment #3
koushal commentedHi
I am using drupal 6, my website url is http://rickfootball.wpjoomlaexperts.com , when I am validating my site with http://validator.w3.org , I am getting 4 errors, where 3 errors are related to each other.
First:
Line 439, Column 6: end tag for element "div" which is not open
Second:
Line 464, Column 38: document type does not allow element "script" here
(here I never used any javascript after ) Third Line 470, Column 10: document type does not allow element "noscript" here Javascript required (Again I never used tag on my site) Fourth: Line 470, Column 13: document type does not allow element "i" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag Javascript required please advice and help.Comment #4
pukku commentedHi!
First, you should have opened a new ticket for this, not re-activated this closed one.
Second, hosting a Drupal site at the "wpjoomlaexperts.com" domain?
The first error you list, the one about an extra
</div>seems to be some kind of theme error.For the rest, if you use the "show source" option for the validator, you'll see that something is adding Javascript after your closing
</html>tag. Safari (the browser) thinks your site contains malware, so you might want to look and see if you've been compromised.None of these issues are related to this module, so I'm re-closing the ticket, as it was re-opened erroneously.
Ricky
Comment #5
avpadernoI am merging two issue tags. I apologize for bumping a closed issue.