WBCE CMS – Way Better Content Editing.
Du bist nicht angemeldet.
WBCE CMS 1.6.9 verfügbar / available - wichtiges Sicherheitsudate / important security update
Ich habe eine Seite mit dem Modul Itemz und dem Preset Teasers angelegt.
Bei der Validierung durch https://validator.w3.org/ bekomme ich folgende Meldung:
Element style not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
From line 169, column 1; to line 169, column 7
CHE: -->↩↩<style>↩.teas
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.
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.Ich habe mir das Preset Teasers angeschaut: in der Kopfzeile steht:
<style>
.teaserbox {float:left; margin:0 1% 20px 0; background: rgba(100,100,100,0.1); padding-bottom:30px;}
.teaserbox2 {width:48%; margin:0 2% 20px 0;}
.teaserbox3 {width:32%; margin:0 1% 20px 0;}
.teaserbox4 {width:23.8%; margin:0 1% 20px 0;}
.teaserbox5 {width:18.81%; margin:0 1% 20px 0;}
.teaserbox6 {width:16%; margin:0 0.45% 20px 0;}
@media screen and (max-width: 768px) {
.teaserbox {width:98% ! important; height:auto ! important; float:none; margin :10px 0 20px 0 !important;}
}
</style>Hm...
Was haut hier nicht hin?
Beitrag geändert von kleo (09.04.2017 18:23:11)
Offline
Ist die Validierung nicht so wichtig?
Offline
statt nur
<style>
muss es heißen:
<style type="text/css">
Dann wird das CSS von WBCE in den head geschoben.
florian
Y E S .
Document checking completed. No errors or warnings to show.Offline