[solved] validation and ExpandCollapse

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
janvl
Power Poster
Power Poster
Posts: 980
Joined: Wed Aug 13, 2008 10:57 am

[solved] validation and ExpandCollapse

Post 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
Last edited by janvl on Sat Dec 25, 2010 9:14 pm, edited 1 time in total.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

Re: validation and ExpandCollapse

Post 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!
Last edited by Anonymous on Sat Dec 25, 2010 6:48 pm, edited 1 time in total.
Make your community a better place!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: validation and ExpandCollapse

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



janvl
Power Poster
Power Poster
Posts: 980
Joined: Wed Aug 13, 2008 10:57 am

Re: validation and ExpandCollapse

Post 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
Locked

Return to “CMSMS Core”