Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

W3C Validation Error

Featured Lock Resolved Issue
Hi, I use a SP Page Builder module and I get this error in W3C validation.
It is very important for me to respect the validation rules W3C. The client is a public institution

"Error: Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)

From line 385, column 25752; to line 385, column 25774

></div><style type="text/css">.sp-page-

Contexts in which element style may be used:
Where metadata content is expected.
In a noscript element that is a child of a head element.
In the body, where flow content is expected.
Content model for element div:
If the element is a child of a dl element: one or more dt elements followed by one or more dd elements, optionally intermixed with script-supporting elements.
If the element is not a child of a dl element: Flow content."


WebSite: http://www.vallidelverbano.va.it/informazioni


Can you help me?
Thank you
Giovanni

Attachments (1)

  • error.JPG
    error.JPG 731.4 KB

10 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
checking...

BTW
Why you're using mootools ?
Probably they are from your cookie bar.
I think you should consider to find alternative module/plugin, with much more modern code inside.

Paul Frankowski - Staff

More than a month ago #Permalink
Question/Domanda

What addon or/and settings you used here

Attachments (1)

  • what.png
    what.png 457.6 KB

Giovanni Colombo

More than a month ago #Permalink
Question/Domanda

What addon or/and settings you used here


Call to actions
but even if I disable it I have the same error

Paul Frankowski - Staff

More than a month ago #Permalink
Is this whole object is SPPB module?

Giovanni Colombo

More than a month ago #Permalink
yes

Paul Frankowski - Staff

More than a month ago #Permalink
Now is all clear.
It's inline CSS style from SPPB module.
We have plans to improve that area but in upcoming weeks, not days.

Giovanni Colombo

More than a month ago #Permalink
Can I change temporarily (with your help), and then wait for your changes?
Thank you
Giovanni

Giovanni Colombo

More than a month ago #Permalink
... client asks me for W3C validation and the site is online :(

Paul Frankowski - Staff

More than a month ago #Permalink
No temporary fix for now until you use SSPB module , sorry :(

Akis

6 days ago #Permalink
Hello, i have createad a thread (https://www.joomshaper.com/forums/validation-errors-with-rental-template) that includes the error discussed here. As i can see this thread is from 12/2017 and you still haven't fixed the issue with the inline css in sspb.
I need this to be fixed so i can get my site validated. I know that you may not consider validation important, neither do i, but unfortunately my goverment asks that my site is validated. So please if there are no immediate plans to remove all inline css from sspb, give me a temporal solution.
Thank you.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 153
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 89
Toufiq

Toufiq

Total Accepted Answers: 21
Al Mamun

Al Mamun

Total Accepted Answers: 3
Pavel

Pavel

Total Accepted Answers: 3

113

Templates

289210

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us