Newsgator syndication/button, "runat" attribute, & Doctype - W3C Validation

Discussion in 'WordPress' started by northpointaiki, Dec 14, 2005.

  1. #1
    The following Newsgator syndication/button code inside my Wordpress Sidebar template is offending to W3C:

    <li><a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http://www.a1-outdoors.com/outblog/?feed=rss2"><img runat="server" src="http://www.newsgator.com/images/ngsub1.gif" alt="Subscribe in NewsGator Online" border="0" /></a></li>

    -saying that the document type I am using does not support the attribute "runat". I am wondering if this is related to the Doctype on the header template:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">


    My knowledge is next to nil, so before I go and do something to completely fry my blog, would replacing the above doctype with:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    Make this a "transitional" doctype which should allow the runat attribute inside the sidebar template/newsgator syndication code, and therefore pleasing to W3C?

    Thanks,

    Paul
     
    northpointaiki, Dec 14, 2005 IP