html5 validation error and solution
-
Problem: The plugin open and closes a div inside an ul, while it works it’s not allowed so doesn’t validate.
Error:
Element div not allowed as child of element ul in this context. (Suppressing further errors from this subtree.)
<div↩class=’nlposts-ulist-pagination pagination’><ul↩clThe solution is to edit the plugin:
find
// Close wrapper
echo $html_tags[‘wrapper_c’];
cut it and paste it below
// Close item box
echo $html_tags[‘item_c’];
}Then it will validate cos it will open and close the navigation div outside the list of posts. Cheers!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘html5 validation error and solution’ is closed to new replies.