![]() |
Validating XHTML
Looking for help or a pointer to resolve errors to sidebar.php file. Website is rfqpro.com
W3 Validator is showing 20 errors and they all appear to relate to text widgets in sidebar.php Error - Document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag My Code: <!--sidebar.php--> <li id="text-390437721" class="widget widget_text"> <div class="textwidget"> The sidebar.php file in the theme editor does not show this text anywhere? Do I need to access in another file and can you suggest a fix? many thanks and appreciate your help Mark |
LIs should only appear as child elements to a UL or OL.
You are using WordPress: I can't help you with this. If you are unable to find the relevant content then you may have to live with it not validating. |
Andrew thanks. Some Wordpress users suggests adding widget text to style.css file ?
Maybe time for a theme change ... |
Quote:
|
Make sure, your website or sidebar li sturctures should be standard for example.
<ul> <li>content over here</li> <li>content over here</li> </ul> |
What is the widget that you are referring to? If it's one you downloaded and installed there is probably and separate file to the sidebar page
|
| All times are GMT +1. The time now is 11:53 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.