Viewing 3 replies - 1 through 3 (of 3 total)
  • You seem to have some xhtml errors.

    Peter

    Thread Starter laxpixe

    (@laxpixe)

    Thanks, This is my first wordpress site and I know zero php so I’m kind of finding my way through this process. Do you have any suggestions on how to fix the errors?

    Are these errors the reason the css isn’t working? Thanks so much for your help!

    Yes, That could well be the case.

    It’s not WordPress specific btw, but (x)html.

    Let’s take the first one:

    Error  Line 135, Column 151: document type does not allow element "a" here; assuming missing "li" start-tag
    
    …ifornia for “Race to the Top” Funds">

    Looking in your source, you find the following:

    <ul>
    
    	<div class="clearfloat featured-cats">
    			<a href="http://www.evolvingdoordesign.com/blog/?p=133" rel="bookmark" title="New York Should Run Alongside California for “Race to the Top” Funds">
    <img alt="" src="http://www.evolvingdoordesign.com/blog/wp-content/themes/nyfera/scripts/timthumb.php?zc=1&w=105&h=85&src=/blog/wp-content/uploads/2009/10/Picture-51.png" /></a>

    the <ul> means: ‘mark the start of an unnumbered list’

    Valid xhtml needs this markup:

    <ul>
      <li></li>
      <li></li>
      <li></li>
    </ul>

    But you start a <div> right after the <ul> (not sure if that is allowed, I think not), and right after that a <a>, which isn’t allowed either.

    These kind of mistakes need te be resolved, or otherwise you force Internet Exploder into quirks mode. Firefox is more forgiving.

    Peter

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Content not floating Left, need CSS help’ is closed to new replies.