Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Widget Area validation error in W3.org

Old Dec 3, 2011, 03:59 AM
mimi's Avatar
70 posts · Feb 2009
over there...
I am sure it's not so bad, but it's worth mentioning and possibly getting it fixed.

I tried the following two options in the footer area:

<?php bfa_widget_area('name=My Footer Widget&cells=4&align=2&before_widget=<div id="%1$s" class="my-footer-widget %2$s">&after_widget=</div>'); ?>
AND the ATA example:

<?php bfa_widget_area('name=My widget area&cells=4&align=1&align_2=9&align_3=7&width_4=700&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
BOTH output the following error at http://validator.w3.org/ (you can enter your own url and see for yourself):

Validation Output: 1 Error

 Line 340, Column 135: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
"table-layout:fixed;width:100%" cellpadding="0" cellspacing="0" border="0"><tr>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
When I remove the widgets completely, the error is gone, obviously.
Old Dec 3, 2011, 02:23 PM
KatyDigg's Avatar
319 posts · Jul 2009
Hi Mimi,

I have had same issue on each ATA version, and resolve it by editting footer.php


and then pass W3C validation.
Old Dec 4, 2011, 01:53 PM
mimi's Avatar
70 posts · Feb 2009
over there...
Hi KatyDigg,

Thank you for the tip, much appreciated.

So basically, one has to remove the lines 93, 95, 97 and 99 in the footer. Any draw back at all?
I am wondering why Flynn did not fix it at once...

On a different subject - still another bug;
Would you happen to know a trick to make background pictures show up properly in iPads?

It used to work...
Old Dec 5, 2011, 03:01 PM
KatyDigg's Avatar
319 posts · Jul 2009
Hi Mimi,

No problem encountered, and yes, remove each "p" on each of the four lines mentioned in footer.php

As for background pictures on iPad, I've not encounted a problem with background so far, therefore, sorry, I'm no help to you.

~ Katy


Just read this thread re: background resizing (if that is the issue)


Last edited by KatyDigg; Dec 5, 2011 at 04:46 PM. Reason: Edit In Thread Link
Old Dec 6, 2011, 05:17 AM
mimi's Avatar
70 posts · Feb 2009
over there...
Hi Katy,

Thanks for the link as well, I'll give it a try.
Although, as other mentioned here, it used to work fine with previous ATA versions.


w3c validation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Images in header area and widget text area don't display 3.6.4 arthurmild New Versions, & Updating 4 Mar 28, 2011 08:56 PM
Error when selecting 'add new widget area' or any menu item below this gaidin Sidebars & Widgets 2 May 22, 2010 02:27 PM
Positioning widget onto logo area creates extra spacing in the overall header area cab262 Header configuration & styling 1 May 20, 2010 02:14 PM
[SOLVED] Add new widget area - &quot;fatal error&quot; rosetrees Sidebars & Widgets 6 Sep 18, 2009 03:51 PM
XHTML Strict Validation Error, Possibly from comments.php cyboc Comments, trackbacks & pings 0 Sep 9, 2009 02:57 PM

All times are GMT -6. The time now is 12:04 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.