Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Sociable plugin and XHTML Strict Validation


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Sep 9, 2009, 12:38 PM
cyboc
 
8 posts · Sep 2009
[SOLVED] Sociable plugin and XHTML Strict Validation

Hi I'm running Wordpress 2.8.4 with Atahualpa 3.4.1. I have had no problems until today when I installed Sociable 3.4.4. After adding the %sociable% info item to the post footer on the "Edit POST/PAGE INFO ITEMS" form, I started getting XHTML strict validation errors on http://validator.w3.org.

Here is one of the errors: document type does not allow element "ul" here. I traced that to this code snippet:
HTML Code:
<span class="sociable">
<ul>
	<li>...</li>
</ul>
</span>
If I remember my XHTML strict rules correctly, this is illegal because "span" is an inline element and "ul" is a block element. That is, you are not allowed to put a block element inside an inline element.

Instead of a "span" I think the code should generate a "div" when it is rendering the %sociable% info item.

I could be wrong though (I often am).
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
W3C Validation eschweiler1986 Atahualpa 3 Wordpress theme 3 Sep 27, 2009 12:45 PM
Change theme code header from XHTML 1.0 Strict to XHTML 1.0 Transitional? Mikii New Versions, & Updating 2 Jul 19, 2009 11:34 AM
Get it XHTML valid? chris New Versions, & Updating 2 Feb 26, 2009 01:48 PM
problem with Layout MAX width and XHTML valididation frankhamm Atahualpa 3 Wordpress theme 4 Feb 18, 2009 04:04 AM
the plugin sociable networks is not working well.... Cactus Plugins & Atahualpa 6 Feb 7, 2009 04:30 PM


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


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