<table id="header" border="0" cellspacing="0" cellpadding="0" onClick="window.location = '/'" onMouseOver="this.style.cursor='pointer'">
should be
<table id="header" border="0" cellspacing="0" cellpadding="0" onclick="window.location = '/'" onmouseover="this.style.cursor='pointer'">

A ul cannot be inside a span. Change the span to a div.
<span class="taxonomy"><ul class="links inline"><li class="taxonomy_term_36 first last"><a href="/s" rel="tag" title="Themes starting with S.">s</a></li></ul></span>