Page 1 of 1
[solved] validation and ExpandCollapse
Posted: Sat Dec 25, 2010 5:10 pm
by janvl
Hi,
I tried to validate a site I made but It produces errors with StartExpandCollapse
the site is
www.rainbach.at
I had a look at the templates, the page itself, the sourcecode produced by CMSMS.
I cannot find any mistake made that causes these 5 errors.
Does anyone have an idea what to do about that?
Kind regards,
Jan
Re: validation and ExpandCollapse
Posted: Sat Dec 25, 2010 6:41 pm
by M@rtijn
According to specifications a div can not be inside a , that is what's causing the errors.
It will work in all recent browser, though.
I assume you use the ExpandCollapse tag in CMSMS, i guess the only way to 'solve' it, is to try to close all paragraphs before the {startExpandCollapse} tag.
Otherwise, in case you are using an external javascript, you might be able to put the class="expand" on the paragraph itself.
Hope this helps!
Re: validation and ExpandCollapse
Posted: Sat Dec 25, 2010 8:01 pm
by Dr.CSS
Most likely what happened is when adding the expand/collapse tags tiny put around them as you hit enter to add the next paragraph...
Re: validation and ExpandCollapse
Posted: Sat Dec 25, 2010 9:13 pm
by janvl
Thanks you Dr. CSS
I have removed all tags and given plain and simple
,
also removed for the font where it should have been .
It validates now.
Problem is the original editor is on holydays so another is using CMSMS but not
good enough to see through these kind of problems. He will be back in february.
Kind regards,
Jan